AI-generated Key Takeaways
- 
          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 DeobfuscationFilesUploadRequestBodyand the response body includes data about the uploaded deobfuscation file configuration.
- 
          Authorization for this action requires the https://www.googleapis.com/auth/androidpublisherOAuth 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 | 
 Unique identifier for the Android app. | 
| editId | 
 Unique identifier for this edit. | 
| apkVersionCode | 
 The version code of the APK whose Deobfuscation File is being uploaded. | 
| 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 ( | 
| Fields | |
|---|---|
| deobfuscationFile | 
 The uploaded Deobfuscation File configuration. | 
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/androidpublisher