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 ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
packageName |
string
ตัวระบุที่ไม่ซ้ำกันสำหรับแอป Android
|
editId |
string
ตัวระบุที่ไม่ซ้ำกันสำหรับการแก้ไขนี้
|
apkVersionCode |
integer
รหัสเวอร์ชันของ APK ที่กำลังอัปโหลดไฟล์สำหรับการถอดรหัสซอร์สโค้ดที่สร้างความสับสน
|
deobfuscationFileType |
enum (DeobfuscationFileType )
ประเภทของไฟล์สำหรับการถอดรหัสซอร์สโค้ดที่สร้างความสับสน
|
เนื้อหาของคำขอ
เนื้อความของคำขอมีอินสแตนซ์ของ DeobfuscationFilesUploadRequestBody
เนื้อหาการตอบกลับ
การตอบกลับสำหรับการอัปโหลด
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีข้อมูลซึ่งมีโครงสร้างดังต่อไปนี้
ช่อง |
deobfuscationFile |
object (DeobfuscationFile )
การกําหนดค่าไฟล์สำหรับการถอดรหัสซอร์สโค้ดที่สร้างความสับสนที่อัปโหลด
|
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/androidpublisher
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 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"]]