Page Summary
-
An ExpansionFile resource is used to manage expansion files for APKs.
-
The JSON representation of an ExpansionFile includes fields for
referencesVersionandfileSize. -
Available methods for interacting with ExpansionFiles include
get,patch,update, andupload. -
Potential HTTP error codes when using this resource include
5xxfor server errors and409for concurrency issues.
Resource: ExpansionFile
An expansion file. The resource for ExpansionFilesService.
| JSON representation |
|---|
{ "referencesVersion": integer, "fileSize": string } |
| Fields | |
|---|---|
referencesVersion |
If set, this APK's expansion file references another APK's expansion file. The fileSize field will not be set. |
fileSize |
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. |
Methods |
|
|---|---|
|
Fetches the expansion file configuration for the specified APK. |
|
Patches the APK's expansion file configuration to reference another APK's expansion file. |
|
Updates the APK's expansion file configuration to reference another APK's expansion file. |
|
Uploads a new expansion file and attaches to the specified APK. |
Error codes
The operations of this resource, return the following HTTP error codes:
| Error code | Reason | Description | Resolution |
|---|