Method: apprecovery.list
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
列出與特定套件名稱和應用程式版本相關聯的所有應用程式復原動作資源。
HTTP 要求
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/appRecoveries
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
packageName |
string
必要欄位。要求復原動作清單的應用程式套件名稱。
|
查詢參數
參數 |
versionCode |
string (int64 format)
必要欄位。復原動作清單指定的版本代碼。
|
回應主體
apprecovery.list 的回應訊息。-- api-linter: core::0158::response-next-page-token-field=disabled
如果成功,回應主體會含有以下結構的資料:
欄位 |
recoveryActions[] |
object (AppRecoveryAction )
與所要求套件名稱相關聯的復原動作清單。
|
授權範圍
需要下列 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\u003eThis document details how to list app recovery action resources associated with a specific package name and app version using the Android Publisher API.\u003c/p\u003e\n"],["\u003cp\u003eThe request is made using an HTTP GET method to a specified URL with required path and query parameters, including package name and version code.\u003c/p\u003e\n"],["\u003cp\u003eThe response, upon successful execution, provides a JSON formatted list of app recovery actions linked to the requested package name.\u003c/p\u003e\n"],["\u003cp\u003eTo authorize this request, you will need the \u003ccode\u003ehttps://www.googleapis.com/auth/androidpublisher\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],["This outlines retrieving app recovery actions for a specific Android app. The core action is a `GET` request to `https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/appRecoveries`. This call requires the `packageName` as a path parameter and the `versionCode` as a query parameter. An empty request body is sent. The response body returns a list of `recoveryActions` associated with the specified package and version, in a JSON array. The request requires the `https://www.googleapis.com/auth/androidpublisher` OAuth scope.\n"],null,["# Method: apprecovery.list\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 - [JSON representation](#body.ListAppRecoveriesResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nList all app recovery action resources associated with a particular package name and app version.\n\n### HTTP request\n\n`GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/appRecoveries`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|---------------|---------------------------------------------------------------------------------------------|\n| `packageName` | `string` Required. Package name of the app for which list of recovery actions is requested. |\n\n### Query parameters\n\n| Parameters ||\n|---------------|------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `versionCode` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. Version code targeted by the list of recovery actions. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse message for apprecovery.list. -- api-linter: core::0158::response-next-page-token-field=disabled\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------|\n| ``` { \"recoveryActions\": [ { object (/android-publisher/api-ref/rest/v3/AppRecoveryAction) } ] } ``` |\n\n| Fields ||\n|---------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `recoveryActions[]` | `object (`[AppRecoveryAction](/android-publisher/api-ref/rest/v3/AppRecoveryAction)`)` List of recovery actions associated with the requested package name. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/androidpublisher`"]]