REST Resource: edits.bundles
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แหล่งข้อมูล: กลุ่ม
ข้อมูลเกี่ยวกับ App Bundle ทรัพยากรสำหรับ BundlesService
การแสดง JSON |
{
"versionCode": integer,
"sha1": string,
"sha256": string
} |
ช่อง |
versionCode |
integer
รหัสเวอร์ชันของ Android App Bundle ตามที่ระบุไว้ในไฟล์ Manifest สำหรับ APK โมดูลฐานของ Android App Bundle
|
sha1 |
string
แฮช SHA1 ของเพย์โหลดการอัปโหลด ซึ่งเข้ารหัสเป็นสตริงเลขฐาน 16 และจับคู่เอาต์พุตของคำสั่ง sha1sum
|
sha256 |
string
แฮช sha256 ของเพย์โหลดการอัปโหลด ซึ่งเข้ารหัสเป็นสตริงเลขฐาน 16 และจับคู่เอาต์พุตของคำสั่ง sha256sum
|
เมธอด |
|
แสดงรายการ Android App Bundle ปัจจุบันทั้งหมดของแอปและแก้ไข |
|
อัปโหลด Android App Bundle ใหม่ไปยังการแก้ไขนี้ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eA Bundle resource provides information about an app bundle, including its version code and SHA hashes.\u003c/p\u003e\n"],["\u003cp\u003eBundles have three fields: \u003ccode\u003eversionCode\u003c/code\u003e, \u003ccode\u003esha1\u003c/code\u003e, and \u003ccode\u003esha256\u003c/code\u003e, representing version, SHA-1 hash, and SHA-256 hash, respectively.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use methods to list all bundles in an edit and upload new bundles.\u003c/p\u003e\n"]]],["The provided information describes the \"Bundle\" resource, which represents an Android App Bundle. Key details include its `versionCode` (integer) and its `sha1` and `sha256` hashes (strings). The core actions are listing all existing app bundles via the `list` method and uploading a new bundle using the `upload` method. The `Bundle` resource is managed via these actions and provides a representation of the uploaded package.\n"],null,["# REST Resource: edits.bundles\n\n- [Resource: Bundle](#Bundle)\n - [JSON representation](#Bundle.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Bundle\n----------------\n\nInformation about an app bundle. The resource for BundlesService.\n\n| JSON representation |\n|----------------------------------------------------------------------|\n| ``` { \"versionCode\": integer, \"sha1\": string, \"sha256\": string } ``` |\n\n| Fields ||\n|---------------|-------------------------------------------------------------------------------------------------------------------------------|\n| `versionCode` | `integer` The version code of the Android App Bundle, as specified in the Android App Bundle's base module APK manifest file. |\n| `sha1` | `string` A sha1 hash of the upload payload, encoded as a hex string and matching the output of the sha1sum command. |\n| `sha256` | `string` A sha256 hash of the upload payload, encoded as a hex string and matching the output of the sha256sum command. |\n\n| Methods ------- ||\n|-----------------------------------------------------------------------|------------------------------------------------------------|\n| ### [list](/android-publisher/api-ref/rest/v3/edits.bundles/list) | Lists all current Android App Bundles of the app and edit. |\n| ### [upload](/android-publisher/api-ref/rest/v3/edits.bundles/upload) | Uploads a new Android App Bundle to this edit. |"]]