REST Resource: edits.bundles
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源:Bundle
app bundle 的相关信息。BundlesService 的资源。
JSON 表示法 |
{
"versionCode": integer,
"sha1": string,
"sha256": string
} |
字段 |
versionCode |
integer
Android App Bundle 的版本代码,如 Android App Bundle 的基本模块 APK 清单文件中指定。
|
sha1 |
string
上传载荷的 sha1 哈希值,编码为十六进制字符串,并与 sha1sum 命令的输出匹配。
|
sha256 |
string
上传载荷的 sha256 哈希值,编码为十六进制字符串,并与 sha256sum 命令的输出匹配。
|
方法 |
|
列出应用的所有当前 Android App Bundle 并进行修改。 |
|
向此修改上传新的 Android App Bundle。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\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. |"]]