Method: edits.deobfuscationfiles.upload
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
העלאת קובץ הבהרה חדש וצירוף שלו לקובץ ה-APK שצוין.
בקשת HTTP
- URI להעלאה, לבקשות העלאת מדיה:
POST https://androidpublisher.googleapis.com/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}
- URI של מטא-נתונים, לבקשות של מטא-נתונים בלבד:
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
packageName |
string
מזהה ייחודי של אפליקציית Android.
|
editId |
string
המזהה הייחודי של העריכה הזו.
|
apkVersionCode |
integer
קוד הגרסה של קובץ ה-APK שעליו מועלה קובץ הפענוח.
|
deobfuscationFileType |
enum (DeobfuscationFileType )
סוג הקובץ לפענוח קוד מעורפל (deobfuscation).
|
גוף הבקשה
גוף הבקשה מכיל מופע של DeobfuscationFilesUploadRequestBody
.
גוף התשובה
התשובות להעלאה.
אם הפעולה מצליחה, גוף התגובה מכיל נתונים במבנה הבא:
שדות |
deobfuscationFile |
object (DeobfuscationFile )
הגדרת הקובץ לפענוח קוד מעורפל (deobfuscation) שהועלה.
|
היקפי הרשאה
נדרש היקף הרשאות OAuth הבא:
https://www.googleapis.com/auth/androidpublisher
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-12-17 (שעון UTC).
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 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"]]