Method: pages.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ê các trang đánh dấu ClaimReview
cho một URL cụ thể hoặc cho một tổ chức.
Yêu cầu HTTP
GET https://factchecktools.googleapis.com/v1alpha1/pages
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số truy vấn
Thông số |
url |
string
URL mà từ đó nhận được mã đánh dấu ClaimReview . Sẽ có tối đa một kết quả. Nếu mã đánh dấu được liên kết với một phiên bản chính tắc hơn của URL được cung cấp, thì chúng tôi sẽ trả về URL đó. Không thể chỉ định cùng với một tổ chức.
|
organization |
string
Tổ chức mà chúng ta muốn tìm nạp các mã đánh dấu. Ví dụ: "site.com". Không thể chỉ định cùng với một URL.
|
pageSize |
integer
Kích thước phân trang. Chúng tôi sẽ trả về tối đa số kết quả đó. Mặc định là 10 nếu không được đặt. Không có hiệu lực nếu bạn yêu cầu một URL.
|
pageToken |
string
Mã thông báo phân trang. Bạn có thể cung cấp nextPageToken được trả về từ một yêu cầu Liệt kê trước đó (nếu có) để lấy trang tiếp theo. Tất cả các trường khác phải có cùng giá trị như trong yêu cầu trước đó.
|
offset |
integer
Một số nguyên chỉ định độ lệch hiện tại (tức là vị trí bắt đầu của kết quả) trong kết quả tìm kiếm. Trường này chỉ được xem xét nếu pageToken chưa được đặt và nếu yêu cầu không phải cho một URL cụ thể. Ví dụ: 0 có nghĩa là trả về kết quả bắt đầu từ kết quả trùng khớp đầu tiên và 10 có nghĩa là trả về từ kết quả thứ 11.
|
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
Phản hồi từ mã đánh dấu ClaimReview
trong trang thông tin.
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 |
{
"claimReviewMarkupPages": [
{
object (ClaimReviewMarkupPage )
}
],
"nextPageToken": string
} |
Trường |
claimReviewMarkupPages[] |
object (ClaimReviewMarkupPage )
Danh sách kết quả của các trang có mã đánh dấu ClaimReview .
|
nextPageToken |
string
Mã thông báo phân trang tiếp theo trong phản hồi Tìm kiếm. Bạn nên dùng mã này làm pageToken cho yêu cầu sau. Giá trị trống có nghĩa là không có kết quả nào khác.
|
Phạm vi uỷ quyền
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/factchecktools
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\u003eList \u003ccode\u003eClaimReview\u003c/code\u003e markup pages associated with a specific URL or an organization.\u003c/p\u003e\n"],["\u003cp\u003eRequest a list of \u003ccode\u003eClaimReview\u003c/code\u003e markup pages via the \u003ccode\u003eGET https://factchecktools.googleapis.com/v1alpha1/pages\u003c/code\u003e endpoint using parameters like \u003ccode\u003eurl\u003c/code\u003e, \u003ccode\u003eorganization\u003c/code\u003e, \u003ccode\u003epageSize\u003c/code\u003e, \u003ccode\u003epageToken\u003c/code\u003e, and \u003ccode\u003eoffset\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes an array of \u003ccode\u003eClaimReviewMarkupPage\u003c/code\u003e objects and a \u003ccode\u003enextPageToken\u003c/code\u003e for pagination.\u003c/p\u003e\n"],["\u003cp\u003eThis functionality requires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/factchecktools\u003c/code\u003e scope.\u003c/p\u003e\n"]]],[],null,["# Method: pages.list\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.ListClaimReviewMarkupPagesResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nList the `ClaimReview` markup pages for a specific URL or for an organization.\n\n### HTTP request\n\n`GET https://factchecktools.googleapis.com/v1alpha1/pages`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Query parameters\n\n| Parameters ||\n|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `url` | `string` The URL from which to get `ClaimReview` markup. There will be at most one result. If markup is associated with a more canonical version of the URL provided, we will return that URL instead. Cannot be specified along with an organization. |\n| `organization` | `string` The organization for which we want to fetch markups for. For instance, \"site.com\". Cannot be specified along with an URL. |\n| `pageSize` | `integer` The pagination size. We will return up to that many results. Defaults to 10 if not set. Has no effect if a URL is requested. |\n| `pageToken` | `string` The pagination token. You may provide the `nextPageToken` returned from a previous List request, if any, in order to get the next page. All other fields must have the same values as in the previous request. |\n| `offset` | `integer` An integer that specifies the current offset (that is, starting result location) in search results. This field is only considered if `pageToken` is unset, and if the request is not for a specific URL. For example, 0 means to return results starting from the first matching result, and 10 means to return from the 11th result. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse from listing `ClaimReview` markup.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"claimReviewMarkupPages\": [ { object (/fact-check/tools/api/reference/rest/v1alpha1/pages#ClaimReviewMarkupPage) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|----------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `claimReviewMarkupPages[]` | `object (`[ClaimReviewMarkupPage](/fact-check/tools/api/reference/rest/v1alpha1/pages#ClaimReviewMarkupPage)`)` The result list of pages of `ClaimReview` markup. |\n| `nextPageToken` | `string` The next pagination token in the Search response. It should be used as the `pageToken` for the following request. An empty value means no more results. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/factchecktools`"]]