Fact Check Tools API
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2023-05-25 UTC.
[null,null,["Última atualização 2023-05-25 UTC."],[[["\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. |"]]