Method: edits.deobfuscationfiles.upload

  • Uploads a new deobfuscation file and attaches it to a specified Android Package Kit (APK).

  • Requires providing the package name, edit ID, APK version code, and deobfuscation file type.

  • Utilizes HTTP POST requests for both media upload and metadata-only interactions.

  • Successful responses include the uploaded Deobfuscation File configuration details.

  • Needs authorization with the https://www.googleapis.com/auth/androidpublisher 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