AI-generated Key Takeaways
-
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 |
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