REST Resource: edits.bundles
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Resource: Paket
Informasi tentang app bundle. Resource untuk BundleService.
Representasi JSON |
{
"versionCode": integer,
"sha1": string,
"sha256": string
} |
Kolom |
versionCode |
integer
Kode versi Android App Bundle, seperti yang ditentukan dalam file manifes APK modul dasar Android App Bundle.
|
sha1 |
string
Hash sha1 dari payload upload, yang dienkode sebagai string hex dan cocok dengan output perintah sha1sum.
|
sha256 |
string
Hash sha256 dari payload upload, yang dienkode sebagai string hex dan cocok dengan output perintah sha256sum.
|
Metode |
|
Mencantumkan semua Android App Bundle aplikasi saat ini dan edit. |
|
Mengupload Android App Bundle baru ke pengeditan ini. |
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-26 UTC.
[null,null,["Terakhir diperbarui pada 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. |"]]