Edits.deobfuscationfiles: upload

Requires authorization

Uploads the deobfuscation file of the specified APK. If a deobfuscation file already exists, it will be replaced.

This method supports an /upload URI and accepts uploaded media with the following characteristics:

  • Maximum file size: 300MB
  • Accepted Media MIME types: application/octet-stream

Request

HTTP request

POST https://www.googleapis.com/upload/androidpublisher/v2/applications/packageName/edits/editId/apks/apkVersionCode/deobfuscationFiles/deobfuscationFileType

Parameters

Parameter name Value Description
Path parameters
apkVersionCode integer The version code of the APK whose deobfuscation file is being uploaded.
deobfuscationFileType string

Acceptable values are:
  • "proguard"
editId string Unique identifier for this edit.
packageName string Unique identifier of the Android app for which the deobfuscatiuon files are being uploaded; for example, "com.spiffygame".
Required query parameters
uploadType string The type of upload request to the /upload URI. Acceptable values are:
  • media - Simple upload. Upload the media data.
  • resumable - Resumable upload. Upload the file in a resumable fashion, using a series of at least two requests.

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:

{
  "deobfuscationFile": {
    "symbolType": string
  }
}
Property name Value Description Notes
deobfuscationFile nested object
deobfuscationFile.symbolType string The type of the deobfuscation file.

Acceptable values are:
  • "proguard"