Edits.expansionfiles: update

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.

Request

HTTP request

PUT 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 an Edits.expansionfiles resource.

Response

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