Method: pages.list
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מציגים רשימה של דפים עם תגי עיצוב ClaimReview
עבור כתובת URL ספציפית או עבור ארגון.
בקשת HTTP
GET https://factchecktools.googleapis.com/v1alpha1/pages
כתובת ה-URL משתמשת בתחביר של gRPC Transcoding.
פרמטרים של שאילתה
פרמטרים |
url |
string
כתובת ה-URL שממנה יילקח תג העיצוב של ClaimReview . תופיע תוצאה אחת לכל היותר. אם התגיות משויכות לגרסה קנונית יותר של כתובת ה-URL שצוינה, נחזיר את כתובת ה-URL הזו במקום. אי אפשר לציין את ההגדרה הזו יחד עם ארגון.
|
organization |
string
הארגון שעבורו רוצים לאחזר את תגי העיצוב. לדוגמה, "site.com". אי אפשר לציין את הערך הזה יחד עם כתובת URL.
|
pageSize |
integer
גודל העמודים. המערכת תחזיר עד מספר התוצאות הזה. אם לא מגדירים ערך, ברירת המחדל היא 10. אין השפעה אם מתבצעת בקשה לכתובת URL.
|
pageToken |
string
טוקן העימוד. כדי לקבל את הדף הבא, אפשר לציין את nextPageToken שהוחזר מבקשת List קודמת, אם יש כזה. כל שאר השדות צריכים להיות בעלי אותם ערכים כמו בבקשה הקודמת.
|
offset |
integer
מספר שלם שמציין את ההיסט הנוכחי (כלומר, מיקום התוצאה הראשונה) בתוצאות החיפוש. השדה הזה נלקח בחשבון רק אם הערך של pageToken לא מוגדר, ואם הבקשה לא מתייחסת לכתובת URL ספציפית. לדוגמה, הערך 0 מחזיר תוצאות החל מהתוצאה התואמת הראשונה, והערך 10 מחזיר תוצאות החל מהתוצאה התואמת ה-11.
|
גוף הבקשה
גוף הבקשה צריך להיות ריק.
גוף התשובה
תשובה מתגי העיצוב של כרטיס העסק ClaimReview
.
אם הפעולה מצליחה, גוף התגובה מכיל נתונים במבנה הבא:
ייצוג ב-JSON |
{
"claimReviewMarkupPages": [
{
object (ClaimReviewMarkupPage )
}
],
"nextPageToken": string
} |
שדות |
claimReviewMarkupPages[] |
object (ClaimReviewMarkupPage )
רשימת התוצאות של דפים עם תגי עיצוב מסוג ClaimReview .
|
nextPageToken |
string
אסימון העימוד הבא בתגובה של החיפוש. צריך להשתמש בו כ-pageToken בבקשה הבאה. ערך ריק מציין שאין יותר תוצאות.
|
היקפי הרשאה
נדרש היקף ההרשאות הבא של OAuth:
https://www.googleapis.com/auth/factchecktools
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 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`"]]