Fact Check Tools API
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-05-25。
[null,null,["最后更新时间 (UTC):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. |"]]