REST Resource: edits.bundles
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
משאב: Bundle
מידע על App Bundle. המשאב של BundlesService.
ייצוג JSON |
{
"versionCode": integer,
"sha1": string,
"sha256": string
} |
שדות |
versionCode |
integer
קוד הגרסה של קובץ Android App Bundle, כפי שצוין בקובץ מניפסט ה-APK של המודול הבסיסי בקובץ Android App Bundle.
|
sha1 |
string
גיבוב sha1 של המטען הייעודי (payload) של ההעלאה, מקודד כמחרוזת הקסדצימלית ותואם לפלט של פקודת ה-sha1sum.
|
sha256 |
string
גיבוב sha256 של המטען הייעודי (payload) של ההעלאה, מקודד כמחרוזת הקסדצימלית ותואם לפלט של הפקודה sha256sum.
|
שיטות |
|
בתיבת הדו-שיח הזו מפורטים כל קובצי ה-Android App Bundle הנוכחיים של האפליקציה והעריכה. |
|
מעלה קובץ Android App Bundle חדש לעריכה הזו. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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. |"]]