REST Resource: edits.bundles
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zasób: pakiet
Informacje o pakiecie aplikacji. Zasób usługi Bundle.
Zapis JSON |
{
"versionCode": integer,
"sha1": string,
"sha256": string
} |
Pola |
versionCode |
integer
Kod wersji pakietu Android App Bundle określony w pliku manifestu modułu podstawowego.
|
sha1 |
string
Skrót SHA1 przesłanego ładunku zakodowany w postaci ciągu szesnastkowego i pasujący do danych wyjściowych polecenia sha1sum.
|
sha256 |
string
Skrót sha256 przesłanego ładunku zakodowany w postaci ciągu szesnastkowego i pasujący do danych wyjściowych polecenia sha256sum.
|
Metody |
|
Wyświetla listę wszystkich aktualnych pakietów Android App Bundle aplikacji i tych edytowanych. |
|
Przesyła nowy pakiet Android App Bundle do tej zmiany. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 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. |"]]