On September 30, 2024 the Fact Check Tools API will require users to update their OAuth tokens to include the FCT scope 'https://www.googleapis.com/auth/factchecktools'. This update to comply with best practices means you will need to make a change in order to continue using RPCs which use OAuth tokens for authentication. For instructions on how to set or change the scope, you can check the documentation for the use of OAuth 2.0 to access Google APIs.
Note: RPCs which currently use API keys for authentication will not be affected.
If you have any questions, please contact us at
[email protected].
REST Resource: pages
Stay organized with collections
Save and categorize content based on your preferences.
Resource: ClaimReviewMarkupPage
Holds one or more instances of ClaimReview
markup for a webpage.
JSON representation |
{
"name": string,
"pageUrl": string,
"publishDate": string,
"claimReviewAuthor": {
object (ClaimReviewAuthor )
},
"claimReviewMarkups": [
{
object (ClaimReviewMarkup )
}
],
"versionId": string
} |
Fields |
name |
string
The 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.
|
pageUrl |
string
The 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
|
publishDate |
string
The 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
|
claimReviewAuthor |
object (ClaimReviewAuthor )
Info about the author of this claim review. Similar to the above, semantically these are page-level fields, and each ClaimReview on this page will contain the same values.
|
claimReviewMarkups[] |
object (ClaimReviewMarkup )
A list of individual claim reviews for this page. Each item in the list corresponds to one ClaimReview element.
|
versionId |
string
The version ID for this markup. Except for update requests, this field is output-only and should not be set by the user.
|
ClaimReviewAuthor
Information about the claim review author.
JSON representation |
{
"name": string,
"imageUrl": string
} |
Fields |
name |
string
Name of the organization that is publishing the fact check. Corresponds to ClaimReview.author.name .
|
imageUrl |
string
Corresponds to ClaimReview.author.image .
|
ClaimReviewMarkup
Fields for an individual ClaimReview
element. Except for sub-messages that group fields together, each of these fields correspond those in https://schema.org/ClaimReview. We list the precise mapping for each field.
JSON representation |
{
"url": string,
"claimReviewed": string,
"claimDate": string,
"claimLocation": string,
"claimFirstAppearance": string,
"claimAppearances": [
string
],
"claimAuthor": {
object (ClaimAuthor )
},
"rating": {
object (ClaimRating )
}
} |
Fields |
url |
string
This field is optional, and will default to the page URL. We provide this field to allow you the override the default value, but the only permitted override is the page URL plus an optional anchor link ("page jump"). Corresponds to ClaimReview.url
|
claimReviewed |
string
A short summary of the claim being evaluated. Corresponds to ClaimReview.claimReviewed .
|
claimDate |
string
The date when the claim was made or entered public discourse. Corresponds to ClaimReview.itemReviewed.datePublished .
|
claimLocation |
string
The location where this claim was made. Corresponds to ClaimReview.itemReviewed.name .
|
claimFirstAppearance |
string
A link to a work in which this claim first appears. Corresponds to ClaimReview.itemReviewed[@type=Claim].firstAppearance.url .
|
claimAppearances[] |
string
A list of links to works in which this claim appears, aside from the one specified in claimFirstAppearance . Corresponds to ClaimReview.itemReviewed[@type=Claim].appearance.url .
|
claimAuthor |
object (ClaimAuthor )
Info about the author of this claim.
|
rating |
object (ClaimRating )
Info about the rating of this claim review.
|
ClaimAuthor
Information about the claim author.
JSON representation |
{
"name": string,
"jobTitle": string,
"imageUrl": string,
"sameAs": string
} |
Fields |
name |
string
A person or organization stating the claim. For instance, "John Doe". Corresponds to ClaimReview.itemReviewed.author.name .
|
jobTitle |
string
Corresponds to ClaimReview.itemReviewed.author.jobTitle .
|
imageUrl |
string
Corresponds to ClaimReview.itemReviewed.author.image .
|
sameAs |
string
Corresponds to ClaimReview.itemReviewed.author.sameAs .
|
ClaimRating
Information about the claim rating.
JSON representation |
{
"textualRating": string,
"ratingValue": integer,
"worstRating": integer,
"bestRating": integer,
"ratingExplanation": string,
"imageUrl": string
} |
Fields |
textualRating |
string
The truthfulness rating as a human-readible short word or phrase. Corresponds to ClaimReview.reviewRating.alternateName .
|
ratingValue |
integer
A numeric rating of this claim, in the range worstRating — bestRating inclusive. Corresponds to ClaimReview.reviewRating.ratingValue .
|
worstRating |
integer
For numeric ratings, the worst value possible in the scale from worst to best. Corresponds to ClaimReview.reviewRating.worstRating .
|
bestRating |
integer
For numeric ratings, the best value possible in the scale from worst to best. Corresponds to ClaimReview.reviewRating.bestRating .
|
ratingExplanation |
string
Corresponds to ClaimReview.reviewRating.ratingExplanation .
|
imageUrl |
string
Corresponds to ClaimReview.reviewRating.image .
|
Methods |
|
Create ClaimReview markup on a page. |
|
Delete all ClaimReview markup on a page. |
|
Get all ClaimReview markup on a page. |
|
List the ClaimReview markup pages for a specific URL or for an organization. |
|
Update for all ClaimReview markup on a page Note that this is a full update. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-08 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-08-08 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-08 UTC."]]