Method: generatedapks.list

Returns download metadata for all APKs that were generated from a given app bundle.

HTTP request

GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
packageName

string

Package name of the app.

versionCode

integer

Version code of the app bundle.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Response to list generated APKs.

JSON representation
{
  "generatedApks": [
    {
      object (GeneratedApksPerSigningKey)
    }
  ]
}
Fields
generatedApks[]

object (GeneratedApksPerSigningKey)

All generated APKs, grouped by the APK signing key.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/androidpublisher

GeneratedApksPerSigningKey

generatedapks.download metadata for split, standalone and universal APKs, as well as asset pack slices, signed with a given key.

JSON representation
{
  "certificateSha256Hash": string,
  "generatedSplitApks": [
    {
      object (GeneratedSplitApk)
    }
  ],
  "generatedAssetPackSlices": [
    {
      object (GeneratedAssetPackSlice)
    }
  ],
  "generatedStandaloneApks": [
    {
      object (GeneratedStandaloneApk)
    }
  ],
  "generatedUniversalApk": {
    object (GeneratedUniversalApk)
  }
}
Fields
certificateSha256Hash

string

SHA256 hash of the APK signing public key certificate.

generatedSplitApks[]

object (GeneratedSplitApk)

apks.list of generated split APKs, signed with a key corresponding to certificateSha256Hash.

generatedAssetPackSlices[]

object (GeneratedAssetPackSlice)

apks.list of asset pack slices which will be served for this app bundle, signed with a key corresponding to certificateSha256Hash.

generatedStandaloneApks[]

object (GeneratedStandaloneApk)

apks.list of generated standalone APKs, signed with a key corresponding to certificateSha256Hash.

generatedUniversalApk

object (GeneratedUniversalApk)

Generated universal APK, signed with a key corresponding to certificateSha256Hash. This field is not set if no universal APK was generated for this signing key.

GeneratedSplitApk

generatedapks.download metadata for a split APK.

JSON representation
{
  "downloadId": string,
  "variantId": integer,
  "moduleName": string,
  "splitId": string
}
Fields
downloadId

string

generatedapks.download ID, which uniquely identifies the APK to download. Should be supplied to generatedapks.download method.

variantId

integer

ID of the generated variant.

moduleName

string

Name of the module that this APK belongs to.

splitId

string

Split ID. Empty for the main split of the base module.

GeneratedAssetPackSlice

generatedapks.download metadata for an asset pack slice.

JSON representation
{
  "downloadId": string,
  "moduleName": string,
  "sliceId": string,
  "version": string
}
Fields
downloadId

string

generatedapks.download ID, which uniquely identifies the APK to download. Should be supplied to generatedapks.download method.

moduleName

string

Name of the module that this asset slice belongs to.

sliceId

string

Asset slice ID.

version

string (int64 format)

Asset module version.

GeneratedStandaloneApk

generatedapks.download metadata for a standalone APK.

JSON representation
{
  "downloadId": string,
  "variantId": integer
}
Fields
downloadId

string

generatedapks.download ID, which uniquely identifies the APK to download. Should be supplied to generatedapks.download method.

variantId

integer

ID of the generated variant.

GeneratedUniversalApk

generatedapks.download metadata for a universal APK.

JSON representation
{
  "downloadId": string
}
Fields
downloadId

string

generatedapks.download ID, which uniquely identifies the APK to download. Should be supplied to generatedapks.download method.