Method: edits.commit
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
HTTP 要求
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}:commit
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
packageName |
string
應用程式的套件名稱。
|
editId |
string
編輯的 ID。
|
查詢參數
參數 |
changesNotSentForReview |
boolean
遭拒時,這個參數會確保系統不會審查這項編輯內容,除非您透過 Google Play 管理中心使用者介面明確送交審查。這些變更會加入尚未送審的其他變更。
|
回應主體
如果成功,回應主體會包含 AppEdit
的執行例項。
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/androidpublisher
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間: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`"]]