Method: apprecovery.list
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Liệt kê tất cả tài nguyên hành động khôi phục ứng dụng liên quan đến tên gói và phiên bản ứng dụng cụ thể.
Yêu cầu HTTP
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/appRecoveries
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Tham số |
packageName |
string
Bắt buộc. Tên gói của ứng dụng mà danh sách tác vụ khôi phục được yêu cầu.
|
Tham số truy vấn
Tham số |
versionCode |
string (int64 format)
Bắt buộc. Mã phiên bản được nhắm mục tiêu theo danh sách thao tác khôi phục.
|
Nội dung yêu cầu
Nội dung yêu cầu phải trống.
Nội dung phản hồi
Thông báo phản hồi cho apprecovery.list. -- api-linter: core::0158::response-next-page-token-field=disabled
Nếu thành công, phần nội dung phản hồi sẽ chứa dữ liệu có cấu trúc sau:
Trường |
recoveryActions[] |
object (AppRecoveryAction )
Danh sách các hành động khôi phục liên quan đến tên gói được yêu cầu.
|
Phạm vi uỷ quyền
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/androidpublisher
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["\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,["- [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\nHTTP 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\nPath parameters\n\n| Parameters ||\n|---------------|---------------------------------------------------------------------------------------------|\n| `packageName` | `string` Required. Package name of the app for which list of recovery actions is requested. |\n\nQuery 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\nRequest body\n\nThe request body must be empty.\n\nResponse body Response 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\nAuthorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/androidpublisher`"]]