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.

Request

HTTP request

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

Parameters

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".

Authorization

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

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

Request body

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

Response

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