Requires authorization
Uploads and attaches a new Expansion File to the APK specified.
This method supports an /upload URI and accepts uploaded media with the following characteristics:
- Maximum file size: 2048MB
- Accepted Media MIME types:
application/octet-stream
Request
HTTP request
POST https://www.googleapis.com/upload/androidpublisher/v2/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:
|
packageName |
string |
Unique identifier for the Android app that is being updated; for example, "com.spiffygame". |
Required query parameters | ||
uploadType |
string |
The type of upload request to the /upload URI.
Acceptable values are:
|
Authorization
This request requires authorization with the following scope (read more about authentication and authorization).
Scope |
---|
https://www.googleapis.com/auth/androidpublisher |
Request body
Do not supply a request body with this method.
Response
If successful, this method returns a response body with the following structure:
{ "expansionFile": edits.expansionfiles Resource }
Property name | Value | Description | Notes |
---|---|---|---|
expansionFile |
nested object |