Method: edits.deobfuscationfiles.upload

  • This page details how to upload a new deobfuscation file and attach it to a specific APK using the Google Play Developer API.

  • It provides the HTTP request URLs for both media upload and metadata-only requests.

  • The necessary path parameters for the request include the package name, edit ID, APK version code, and deobfuscation file type.

  • The request body contains an instance of DeobfuscationFilesUploadRequestBody and the response body includes data about the uploaded deobfuscation file configuration.

  • Authorization for this action requires the https://www.googleapis.com/auth/androidpublisher OAuth scope.

Uploads a new deobfuscation file and attaches to the specified APK.

HTTP request

  • Upload URI, for media upload requests:
    POST https://androidpublisher.googleapis.com/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}
  • Metadata URI, for metadata-only requests:
    POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
packageName

string

Unique identifier for the Android app.

editId

string

Unique identifier for this edit.

apkVersionCode

integer

The version code of the APK whose Deobfuscation File is being uploaded.

deobfuscationFileType

enum (DeobfuscationFileType)

The type of the deobfuscation file.

Request body

The request body contains an instance of DeobfuscationFilesUploadRequestBody.

Response body

Responses for the upload.

If successful, the response body contains data with the following structure:

JSON representation
{
  "deobfuscationFile": {
    object (DeobfuscationFile)
  }
}
Fields
deobfuscationFile

object (DeobfuscationFile)

The uploaded Deobfuscation File configuration.

Authorization scopes

Requires the following OAuth scope:

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