REST Resource: edits
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zasób: AppEdit
Zmiana w aplikacji. Zasób usługi EditsService.
Zapis JSON |
{
"id": string,
"expiryTimeSeconds": string
} |
Pola |
id |
string
Tylko dane wyjściowe. Identyfikator zmiany. Można ich używać w kolejnych wywołaniach interfejsu API.
|
expiryTimeSeconds |
string
Tylko dane wyjściowe. Czas (w sekundach od początku epoki), po którym zmiana wygaśnie i nie będzie już można jej używać.
|
Metody |
|
Zatwierdź zmianę w aplikacji. |
|
Usuwa zmianę w aplikacji. |
|
Pobiera zmianę w aplikacji. |
|
Tworzy nową zmianę w aplikacji. |
|
Weryfikuje zmiany w aplikacji. |
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\u003e\u003ccode\u003eAppEdit\u003c/code\u003e is a resource used by the EditsService to manage changes to an app.\u003c/p\u003e\n"],["\u003cp\u003eIt's represented by an \u003ccode\u003eid\u003c/code\u003e and an \u003ccode\u003eexpiryTimeSeconds\u003c/code\u003e field in JSON format.\u003c/p\u003e\n"],["\u003cp\u003eKey methods include: creating, retrieving, updating, validating, and deleting edits.\u003c/p\u003e\n"],["\u003cp\u003eEdits have an expiration time and become invalid after that point.\u003c/p\u003e\n"]]],["AppEdit, a resource for EditsService, is identified by a unique string `id` and has an `expiryTimeSeconds` field indicating when it expires. Key actions include: `commit` to finalize an edit, `delete` to remove it, `get` to retrieve details, `insert` to create a new one, and `validate` to check its correctness. The resource's data structure is represented in JSON, showing the `id` and `expiryTimeSeconds`.\n"],null,["# REST Resource: edits\n\n- [Resource: AppEdit](#AppEdit)\n - [JSON representation](#AppEdit.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: AppEdit\n-----------------\n\nAn app edit. The resource for EditsService.\n\n| JSON representation |\n|-------------------------------------------------------|\n| ``` { \"id\": string, \"expiryTimeSeconds\": string } ``` |\n\n| Fields ||\n|---------------------|----------------------------------------------------------------------------------------------------------------------------|\n| `id` | `string` Output only. Identifier of the edit. Can be used in subsequent API calls. |\n| `expiryTimeSeconds` | `string` Output only. The time (as seconds since Epoch) at which the edit will expire and will be no longer valid for use. |\n\n| Methods ------- ||\n|-------------------------------------------------------------------|--------------------------------|\n| ### [commit](/android-publisher/api-ref/rest/v3/edits/commit) | Commits an app edit. |\n| ### [delete](/android-publisher/api-ref/rest/v3/edits/delete) | Deletes an app edit. |\n| ### [get](/android-publisher/api-ref/rest/v3/edits/get) | Gets an app edit. |\n| ### [insert](/android-publisher/api-ref/rest/v3/edits/insert) | Creates a new edit for an app. |\n| ### [validate](/android-publisher/api-ref/rest/v3/edits/validate) | Validates an app edit. |"]]