Method: edits.deobfuscationfiles.upload
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מעלה קובץ חדש לפענוח קוד מעורפל (deobfuscation) ומצורף ל-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 נעשה שימוש בתחביר המרת קידוד של gRPC.
פרמטרים של נתיב
פרמטרים |
packageName |
string
המזהה הייחודי של האפליקציה ל-Android.
|
editId |
string
המזהה הייחודי של העריכה הזו.
|
apkVersionCode |
integer
קוד הגרסה של ה-APK שמעלים את הקובץ לפענוח קוד מעורפל (Deobfuscation).
|
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 ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-05-21 (שעון 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"]],["עדכון אחרון: 2025-05-21 (שעון 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"]]