Edits.expansionfiles: patch

Requires authorization

Updates the APK's Expansion File configuration to reference another APK's Expansion Files. To add a new Expansion File use the Upload method. This method supports patch semantics.


HTTP request

PATCH https://www.googleapis.com/androidpublisher/v2/applications/packageName/edits/editId/apks/apkVersionCode/expansionFiles/expansionFileType


Parameter name Value Description
Path parameters
apkVersionCode integer The version code of the APK whose Expansion File configuration is being read or modified.
editId string Unique identifier for this edit.
expansionFileType string

Acceptable values are:
  • "main"
  • "patch"
packageName string Unique identifier for the Android app that is being updated; for example, "com.spiffygame".


This request requires authorization with the following scope (read more about authentication and authorization).


Request body

In the request body, supply the relevant portions of an Edits.expansionfiles resource, according to the rules of patch semantics.


If successful, this method returns an Edits.expansionfiles resource in the response body.