Method: edits.commit
使用集合让一切井井有条 根据您的偏好保存内容并对其进行分类。
HTTP 请求
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}:commit
网址采用 gRPC 转码语法。
路径参数
参数 |
packageName | string 应用的软件包名称。 |
editId | string 编辑的标识符。 |
查询参数
参数 |
changesNotSentForReview | boolean 发生拒绝时,该参数将确保在通过 Google Play 管理中心界面将相应编辑会话中的更改明确送审之前,系统不会对这些更改进行审核。这些更改将和尚未送审的所有其他更改添加到一起。 |
响应正文
如果成功,则响应正文包含一个 AppEdit
实例。
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/androidpublisher
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eCommits changes made within an app edit, finalizing them for the specified app package.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes specific path parameters, including package name and edit ID, to target the desired application and edit.\u003c/p\u003e\n"],["\u003cp\u003eOptionally uses a query parameter to indicate if changes should be held for manual review within the Google Play Console.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization using the \u003ccode\u003ehttps://www.googleapis.com/auth/androidpublisher\u003c/code\u003e scope for access.\u003c/p\u003e\n"],["\u003cp\u003eUpon successful completion, the API provides an \u003ccode\u003eAppEdit\u003c/code\u003e object in the response.\u003c/p\u003e\n"]]],["This content details the process of committing an app edit via a POST HTTP request to the Google Android Publisher API. The request URL includes `packageName` and `editId` as path parameters. The `changesNotSentForReview` boolean query parameter allows delaying review submission. The request body must be empty, and a successful response returns an `AppEdit` instance. This action requires the `https://www.googleapis.com/auth/androidpublisher` OAuth scope for authorization. The API uses gRPC Transcoding syntax.\n"],null,["- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nCommits an app edit.\n\nHTTP request\n\n`POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}:commit`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\nPath parameters\n\n| Parameters ||\n|---------------|-----------------------------------|\n| `packageName` | `string` Package name of the app. |\n| `editId` | `string` Identifier of the edit. |\n\nQuery parameters\n\n| Parameters ||\n|---------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `changesNotSentForReview` | `boolean` When a rejection happens, the parameter will make sure that the changes in this edit won't be reviewed until they are explicitly sent for review from within the Google Play Console UI. These changes will be added to any other changes that are not yet sent for review. |\n\nRequest body\n\nThe request body must be empty.\n\nResponse body\n\nIf successful, the response body contains an instance of [AppEdit](/android-publisher/api-ref/rest/v3/edits#AppEdit).\n\nAuthorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/androidpublisher`"]]