REST Resource: edits
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
資源:AppEdit
JSON 表示法 |
{
"id": string,
"expiryTimeSeconds": string
} |
欄位 |
id |
string
僅供輸出。編輯內容的 ID。可用於後續 API 呼叫。
|
expiryTimeSeconds |
string
僅供輸出。編輯項目失效後失效 (自 Epoch 起算,以秒為單位) 的時間。
|
方法 |
|
提交應用程式編輯內容。 |
|
刪除應用程式編輯內容。 |
|
取得應用程式編輯內容。 |
|
為應用程式建立新編輯內容。 |
|
驗證應用程式編輯結果。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\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. |"]]