Method: apps.search
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.
Tìm kiếm các ứng dụng mà người dùng có thể truy cập.
Yêu cầu HTTP
GET https://playdeveloperreporting.googleapis.com/v1beta1/apps:search
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số truy vấn
Thông số |
pageSize |
integer
Số lượng ứng dụng tối đa cần trả về. Dịch vụ có thể trả về ít hơn giá trị này. Nếu bạn không chỉ định, hệ thống sẽ trả về tối đa 50 ứng dụng. Giá trị tối đa là 1000; các giá trị lớn hơn 1000 sẽ được chuyển đổi thành 1000.
|
pageToken |
string
Mã thông báo trang nhận được từ một lệnh gọi apps.search trước đó. Cung cấp thông tin này để truy xuất trang tiếp theo. Khi phân trang, tất cả các tham số khác được cung cấp cho apps.search phải khớp với lệnh gọi đã cung cấp mã thông báo trang.
|
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 apps.search
.
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:
Biểu diễn dưới dạng JSON |
{
"apps": [
{
object (App )
}
],
"nextPageToken": string
} |
Trường |
apps[] |
object (App )
Các ứng dụng mà người dùng gọi đến thiết bị đầu cuối có thể truy cập.
|
nextPageToken |
string
Một mã thông báo có thể được gửi dưới dạng pageToken để truy xuất trang tiếp theo. Nếu bạn bỏ qua trường này, thì sẽ không có các trang tiếp theo.
|
Phạm vi uỷ quyền
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/playdeveloperreporting
Để biết thêm thông tin, hãy xem OAuth 2.0 Overview.
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\u003eSearches for and returns a list of apps accessible by the user making the request.\u003c/p\u003e\n"],["\u003cp\u003eAllows pagination to retrieve large sets of apps using \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes an array of apps and a token for accessing the next page of results if available.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/playdeveloperreporting\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["This API endpoint, `GET https://playdeveloperreporting.googleapis.com/v1beta1/apps:search`, retrieves apps accessible to a user. The request uses query parameters `pageSize` (max 1000) and `pageToken` for pagination. The request body is empty. The response includes an array of `apps` and a `nextPageToken` for subsequent pages if any. Requires `https://www.googleapis.com/auth/playdeveloperreporting` OAuth scope for authorization. The maximum number of apps returned if `pageSize` is not provided is 50.\n"],null,["# Method: apps.search\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.SearchAccessibleAppsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n\nSearches for Apps accessible by the user.\n\n### HTTP request\n\n`GET https://playdeveloperreporting.googleapis.com/v1beta1/apps:search`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Query parameters\n\n| Parameters ||\n|-------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` The maximum number of apps to return. The service may return fewer than this value. If unspecified, at most 50 apps will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |\n| `pageToken` | `string` A page token, received from a previous `apps.search` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `apps.search` must match the call that provided the page token. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse message for [apps.search](/play/developer/reporting/reference/rest/v1beta1/apps/search#google.play.developer.reporting.v1beta1.ReportingService.SearchAccessibleApps).\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"apps\": [ { object (/play/developer/reporting/reference/rest/v1beta1/apps#App) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-----------------|----------------------------------------------------------------------------------------------------------------------------------------|\n| `apps[]` | `object (`[App](/play/developer/reporting/reference/rest/v1beta1/apps#App)`)` The apps accessible to the user calling the endpoint. |\n| `nextPageToken` | `string` A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/playdeveloperreporting`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]