Method: reviews.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ả bài đánh giá.
Yêu cầu HTTP
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/reviews
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Tham số |
packageName |
string
Tên gói của ứng dụng.
|
Tham số truy vấn
Tham số |
token |
string
Mã thông báo phân trang. Nếu trống, danh sách sẽ bắt đầu ở lần xem xét đầu tiên.
|
startIndex |
integer (uint32 format)
Chỉ mục của phần tử đầu tiên cần trả về.
|
maxResults |
integer (uint32 format)
Số lượng kết quả mà thao tác danh sách sẽ trả về.
|
translationLanguage |
string
Mã bản địa hoá ngôn ngữ.
|
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
Đánh giá danh sách câu trả lời.
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 |
{
"reviews": [
{
object (Review )
}
],
"tokenPagination": {
object (TokenPagination )
},
"pageInfo": {
object (PageInfo )
}
} |
Trường |
reviews[] |
object (Review )
đánh giá.danh sách bài đánh giá.
|
tokenPagination |
object (TokenPagination )
Mã thông báo phân trang, để xử lý một số sản phẩm dài hơn một trang.
|
pageInfo |
object (PageInfo )
Thông tin về trang hiện tại.
|
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 endpoint lists all reviews for a specified Android application package.\u003c/p\u003e\n"],["\u003cp\u003eIt supports pagination using \u003ccode\u003etoken\u003c/code\u003e, \u003ccode\u003estartIndex\u003c/code\u003e, and \u003ccode\u003emaxResults\u003c/code\u003e query parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes a list of reviews, pagination information, and the next page token.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the \u003ccode\u003ehttps://www.googleapis.com/auth/androidpublisher\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],["This API retrieves a list of reviews for an app using a `GET` request to a specified URL, including the `packageName` as a path parameter. Optional query parameters include `token` for pagination, `startIndex`, `maxResults`, and `translationLanguage`. The request body must be empty. The successful response is a JSON object containing a `reviews` array, `tokenPagination` data, and `pageInfo`. This operation requires the `https://www.googleapis.com/auth/androidpublisher` authorization scope.\n"],null,["# Method: reviews.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.ReviewsListResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nLists all reviews.\n\n### HTTP request\n\n`GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/reviews`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|---------------|-----------------------------------|\n| `packageName` | `string` Package name of the app. |\n\n### Query parameters\n\n| Parameters ||\n|-----------------------|------------------------------------------------------------------------------------------------------------------------------------------|\n| `token` | `string` Pagination token. If empty, list starts at the first review. |\n| `startIndex` | `integer (`[uint32](https://developers.google.com/discovery/v1/type-format)` format)` The index of the first element to return. |\n| `maxResults` | `integer (`[uint32](https://developers.google.com/discovery/v1/type-format)` format)` How many results the list operation should return. |\n| `translationLanguage` | `string` Language localization code. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse listing reviews.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"reviews\": [ { object (/android-publisher/api-ref/rest/v3/reviews#Review) } ], \"tokenPagination\": { object (/android-publisher/api-ref/rest/v3/TokenPagination) }, \"pageInfo\": { object (/android-publisher/api-ref/rest/v3/PageInfo) } } ``` |\n\n| Fields ||\n|-------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `reviews[]` | `object (`[Review](/android-publisher/api-ref/rest/v3/reviews#Review)`)` reviews.list of reviews. |\n| `tokenPagination` | `object (`[TokenPagination](/android-publisher/api-ref/rest/v3/TokenPagination)`)` Pagination token, to handle a number of products that is over one page. |\n| `pageInfo` | `object (`[PageInfo](/android-publisher/api-ref/rest/v3/PageInfo)`)` Information about the current page. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/androidpublisher`"]]