Method: edits.commit
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
zatwierdza zmiany w aplikacji.
Żądanie HTTP
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}:commit
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
packageName |
string
Nazwa pakietu aplikacji.
|
editId |
string
Identyfikator zmiany.
|
Parametry zapytania
Parametry |
changesNotSentForReview |
boolean
Gdy nastąpi odrzucenie, parametr zapewni, że zmiany w tej wersji nie zostaną sprawdzone, dopóki nie zostaną wyraźnie przesłane do sprawdzenia z interfejsu Konsoli Google Play. Te zmiany zostaną dodane do wszystkich innych zmian, które nie zostały jeszcze przesłane do sprawdzenia.
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu AppEdit
.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/androidpublisher
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\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`"]]