Skip to main content

pages

Overview

Namepages
TypeResource
Idgoogledevelopers.factchecktools.pages

Fields

NameDatatypeDescription
namestringThe name of this ClaimReview markup page resource, in the form of pages/{page_id}. Except for update requests, this field is output-only and should not be set by the user.
versionIdstringThe version ID for this markup. Except for update requests, this field is output-only and should not be set by the user.
claimReviewAuthorobjectInformation about the claim review author.
claimReviewMarkupsarrayA list of individual claim reviews for this page. Each item in the list corresponds to one ClaimReview element.
pageUrlstringThe URL of the page associated with this ClaimReview markup. While every individual ClaimReview has its own URL field, semantically this is a page-level field, and each ClaimReview on this page will use this value unless individually overridden. Corresponds to ClaimReview.url
publishDatestringThe date when the fact check was published. Similar to the URL, semantically this is a page-level field, and each ClaimReview on this page will contain the same value. Corresponds to ClaimReview.datePublished

Methods

NameAccessible byRequired ParamsDescription
getSELECTpagesIdGet all ClaimReview markup on a page.
listSELECTList the ClaimReview markup pages for a specific URL or for an organization.
createINSERTCreate ClaimReview markup on a page.
deleteDELETEpagesIdDelete all ClaimReview markup on a page.
updateEXECpagesIdUpdate for all ClaimReview markup on a page Note that this is a full update. To retain the existing ClaimReview markup on a page, first perform a Get operation, then modify the returned markup, and finally call Update with the entire ClaimReview markup as the body.