Fact Check Tools API
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2023-05-25 (世界標準時間)。
[null,null,["上次更新時間:2023-05-25 (世界標準時間)。"],[[["\u003cp\u003eThe Fact Check Tools API allows you to interact with fact-checked claims and their associated web pages.\u003c/p\u003e\n"],["\u003cp\u003eYou can search for claims using text or images, as well as retrieve and manage ClaimReview markup on web pages.\u003c/p\u003e\n"],["\u003cp\u003eThe API provides methods for creating, updating, deleting, and retrieving ClaimReview markup associated with specific URLs.\u003c/p\u003e\n"],["\u003cp\u003eThe service is accessible via REST endpoints and utilizes a discovery document for integration with client libraries and tools.\u003c/p\u003e\n"],["\u003cp\u003eThe Fact Check Tools API is hosted at the service endpoint \u003ccode\u003ehttps://factchecktools.googleapis.com\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Fact Check Tools API\n\n- [REST Resource: v1alpha1.claims](#v1alpha1.claims)\n- [REST Resource: v1alpha1.pages](#v1alpha1.pages)\n\nService: factchecktools.googleapis.com\n--------------------------------------\n\nTo call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.\n\n### Discovery document\n\nA [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:\n\n- \u003chttps://factchecktools.googleapis.com/$discovery/rest?version=v1alpha1\u003e\n\n### Service endpoint\n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:\n\n- `https://factchecktools.googleapis.com`\n\nREST Resource: [v1alpha1.claims](/fact-check/tools/api/reference/rest/v1alpha1/claims)\n--------------------------------------------------------------------------------------\n\n| Methods ||\n|---------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------|\n| [imageSearch](/fact-check/tools/api/reference/rest/v1alpha1/claims/imageSearch) | `GET /v1alpha1/claims:imageSearch` Search through fact-checked claims using an image as the query. |\n| [search](/fact-check/tools/api/reference/rest/v1alpha1/claims/search) | `GET /v1alpha1/claims:search` Search through fact-checked claims. |\n\nREST Resource: [v1alpha1.pages](/fact-check/tools/api/reference/rest/v1alpha1/pages)\n------------------------------------------------------------------------------------\n\n| Methods ||\n|----------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|\n| [create](/fact-check/tools/api/reference/rest/v1alpha1/pages/create) | `POST /v1alpha1/pages` Create `ClaimReview` markup on a page. |\n| [delete](/fact-check/tools/api/reference/rest/v1alpha1/pages/delete) | `DELETE /v1alpha1/{name=pages/*}` Delete all `ClaimReview` markup on a page. |\n| [get](/fact-check/tools/api/reference/rest/v1alpha1/pages/get) | `GET /v1alpha1/{name=pages/*}` Get all `ClaimReview` markup on a page. |\n| [list](/fact-check/tools/api/reference/rest/v1alpha1/pages/list) | `GET /v1alpha1/pages` List the `ClaimReview` markup pages for a specific URL or for an organization. |\n| [update](/fact-check/tools/api/reference/rest/v1alpha1/pages/update) | `PUT /v1alpha1/{claimReviewMarkupPage.name=pages/*}` Update for all `ClaimReview` markup on a page Note that this is a full update. |"]]