v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13136338403.5 KB
edits

Patches the APK's expansion file configuration to reference another APK's expansion file. To add a new expansion file use the Upload method.

patch/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}

Path parameters

packageNamestring required

Package name of the app.

editIdstring required

Identifier of the edit.

apkVersionCodeinteger required

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

expansionFileType'expansionFileTypeUnspecified' | 'main' | 'patch' required

The file type of the expansion file configuration which is being updated.

Request body

referencesVersioninteger

If set, this APK's expansion file references another APK's expansion file. The file_size field will not be set.

fileSizestring int64

If set, this field indicates that this APK has an expansion file uploaded to it: this APK does not reference another APK's expansion file. The field's value is the size of the uploaded expansion file in bytes.

Response

Successful response