Method: edits.expansionfiles.get

  • This API fetches the expansion file configuration for a specified APK.

  • The HTTP request uses a GET method and specifies path parameters including package name, edit ID, APK version code, and expansion file type.

  • The request body must be empty, and a successful response contains an instance of ExpansionFile.

  • Authorization requires the https://www.googleapis.com/auth/androidpublisher OAuth scope.

Fetches the expansion file configuration for the specified APK.

HTTP request

GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
packageName

string

Package name of the app.

editId

string

Identifier of the edit.

apkVersionCode

integer

The version code of the APK whose expansion file configuration is being read or modified.

expansionFileType

enum (ExpansionFileType)

The file type of the file configuration which is being read or modified.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of ExpansionFile.

Authorization scopes

Requires the following OAuth scope:

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