Method: edits.deobfuscationfiles.upload
Stay organized with collections
Save and categorize content based on your preferences.
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:
Fields |
deobfuscationFile |
object (DeobfuscationFile )
The uploaded Deobfuscation File configuration.
|
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/androidpublisher
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-17 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-17 UTC."],[[["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."]]],["This content outlines how to upload a deobfuscation file to an Android app's APK. It details two `POST` request URIs for uploading, either media or metadata. The URL requires path parameters: `packageName`, `editId`, `apkVersionCode`, and `deobfuscationFileType`. The request body uses `DeobfuscationFilesUploadRequestBody`. A successful response includes a `deobfuscationFile` object. This operation needs the `https://www.googleapis.com/auth/androidpublisher` authorization scope.\n"]]