Method: edits.commit
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Applica una modifica all'app.
Richiesta HTTP
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}:commit
L'URL utilizza la sintassi di transcodifica gRPC.
Parametri del percorso
Parametri |
packageName |
string
Nome del pacchetto dell'app.
|
editId |
string
Identificatore della modifica.
|
Parametri di query
Parametri |
changesNotSentForReview |
boolean
In caso di rifiuto, il parametro garantirà che le modifiche apportate in questa modifica non verranno esaminate finché non verranno inviate esplicitamente per la revisione dall'interfaccia utente di Google Play Console. Queste modifiche verranno aggiunte a qualsiasi altra modifica non ancora inviata per la revisione.
|
Corpo della richiesta
Il corpo della richiesta deve essere vuoto.
Corpo della risposta
In caso di esito positivo, il corpo della risposta contiene un'istanza di AppEdit
.
Ambiti di autorizzazione
Richiede il seguente ambito OAuth:
https://www.googleapis.com/auth/androidpublisher
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-26 UTC.
[null,null,["Ultimo aggiornamento 2025-07-26 UTC."],[[["\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,["# Method: edits.commit\n\n- [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\n### HTTP 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\n### Path parameters\n\n| Parameters ||\n|---------------|-----------------------------------|\n| `packageName` | `string` Package name of the app. |\n| `editId` | `string` Identifier of the edit. |\n\n### Query 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\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [AppEdit](/android-publisher/api-ref/rest/v3/edits#AppEdit).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/androidpublisher`"]]