Method: projects.apps.getAabInfo
Stay organized with collections
Save and categorize content based on your preferences.
Gets Android App Bundle (AAB) information for a Firebase app.
HTTP request
GET https://firebaseappdistribution.googleapis.com/v1/{name=projects/*/apps/*/aabInfo}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
name |
string
Required. The name of the AabInfo resource to retrieve. Format: projects/{projectNumber}/apps/{appId}/aabInfo
Authorization requires the following IAM permission on the Firebase project that owns the specified resource name :
firebaseappdistro.releases.list
|
Request body
The request body must be empty.
Response body
Android App Bundle (AAB) information for a Firebase app.
If successful, the response body contains data with the following structure:
Fields |
name |
string
The name of the AabInfo resource. Format: projects/{projectNumber}/apps/{app}/aabInfo
|
integrationState |
enum (IntegrationState )
App bundle integration state. Only valid for android apps.
|
testCertificate |
object (TestCertificate )
App bundle test certificate generated for the app. Set after the first app bundle is uploaded for this app.
|
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the OAuth 2.0 Overview.
IntegrationState
The current state of AAB integration
Enums |
AAB_INTEGRATION_STATE_UNSPECIFIED |
Aab integration state unspecified |
INTEGRATED |
App can receive app bundle uploads |
PLAY_ACCOUNT_NOT_LINKED |
Firebase project is not linked to a Play developer account |
NO_APP_WITH_GIVEN_BUNDLE_ID_IN_PLAY_ACCOUNT |
There is no app in linked Play developer account with the same bundle id |
APP_NOT_PUBLISHED |
The app in Play developer account is not in a published state |
AAB_STATE_UNAVAILABLE |
Play App status is unavailable |
PLAY_IAS_TERMS_NOT_ACCEPTED |
Play IAS terms not accepted |
TestCertificate
App bundle test certificate
JSON representation |
{
"hashSha1": string,
"hashSha256": string,
"hashMd5": string
} |
Fields |
hashSha1 |
string
Hex string of SHA1 hash of the test certificate used to resign the AAB
|
hashSha256 |
string
Hex string of SHA256 hash of the test certificate used to resign the AAB
|
hashMd5 |
string
Hex string of MD5 hash of the test certificate used to resign the AAB
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-30 UTC.
[null,null,["Last updated 2024-12-30 UTC."],[],[],null,["# Method: projects.apps.getAabInfo\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.AabInfo.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [IntegrationState](#IntegrationState)\n- [TestCertificate](#TestCertificate)\n - [JSON representation](#TestCertificate.SCHEMA_REPRESENTATION)\n- [Try it!](#try-it)\n\nGets Android App Bundle (AAB) information for a Firebase app.\n\n### HTTP request\n\n`GET https://firebaseappdistribution.googleapis.com/v1/{name=projects/*/apps/*/aabInfo}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The name of the `AabInfo` resource to retrieve. Format: `projects/{projectNumber}/apps/{appId}/aabInfo` Authorization requires the following [IAM](https://firebase.google.com/docs/projects/iam/overview/) permission on the Firebase project that owns the specified resource `name`: - `firebaseappdistro.releases.list` |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nAndroid App Bundle (AAB) information for a Firebase app.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"integrationState\": enum (/docs/reference/app-distribution/rest/v1/projects.apps/getAabInfo#IntegrationState), \"testCertificate\": { object (/docs/reference/app-distribution/rest/v1/projects.apps/getAabInfo#TestCertificate) } } ``` |\n\n| Fields ||\n|----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` The name of the `AabInfo` resource. Format: `projects/{projectNumber}/apps/{app}/aabInfo` |\n| `integration``State` | `enum (`[IntegrationState](/docs/reference/app-distribution/rest/v1/projects.apps/getAabInfo#IntegrationState)`)` App bundle integration state. Only valid for android apps. |\n| `test``Certificate` | `object (`[TestCertificate](/docs/reference/app-distribution/rest/v1/projects.apps/getAabInfo#TestCertificate)`)` App bundle test certificate generated for the app. Set after the first app bundle is uploaded for this app. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2).\n\nIntegrationState\n----------------\n\nThe current state of AAB integration\n\n| Enums ||\n|-----------------------------------------------|--------------------------------------------------------------------------|\n| `AAB_INTEGRATION_STATE_UNSPECIFIED` | Aab integration state unspecified |\n| `INTEGRATED` | App can receive app bundle uploads |\n| `PLAY_ACCOUNT_NOT_LINKED` | Firebase project is not linked to a Play developer account |\n| `NO_APP_WITH_GIVEN_BUNDLE_ID_IN_PLAY_ACCOUNT` | There is no app in linked Play developer account with the same bundle id |\n| `APP_NOT_PUBLISHED` | The app in Play developer account is not in a published state |\n| `AAB_STATE_UNAVAILABLE` | Play App status is unavailable |\n| `PLAY_IAS_TERMS_NOT_ACCEPTED` | Play IAS terms not accepted |\n\nTestCertificate\n---------------\n\nApp bundle test certificate\n\n| JSON representation |\n|-------------------------------------------------------------------------|\n| ``` { \"hashSha1\": string, \"hashSha256\": string, \"hashMd5\": string } ``` |\n\n| Fields ||\n|----------------|-----------------------------------------------------------------------------------|\n| `hash``Sha1` | `string` Hex string of SHA1 hash of the test certificate used to resign the AAB |\n| `hash``Sha256` | `string` Hex string of SHA256 hash of the test certificate used to resign the AAB |\n| `hash``Md5` | `string` Hex string of MD5 hash of the test certificate used to resign the AAB |"]]