# REST Resource: pages

- [Resource: ClaimReviewMarkupPage](https://developers.google.com/fact-check/tools/api/reference/rest/v1alpha1/pages#ClaimReviewMarkupPage)
  - [JSON representation](https://developers.google.com/fact-check/tools/api/reference/rest/v1alpha1/pages#ClaimReviewMarkupPage.SCHEMA_REPRESENTATION)
- [ClaimReviewAuthor](https://developers.google.com/fact-check/tools/api/reference/rest/v1alpha1/pages#ClaimReviewAuthor)
  - [JSON representation](https://developers.google.com/fact-check/tools/api/reference/rest/v1alpha1/pages#ClaimReviewAuthor.SCHEMA_REPRESENTATION)
- [ClaimReviewMarkup](https://developers.google.com/fact-check/tools/api/reference/rest/v1alpha1/pages#ClaimReviewMarkup)
  - [JSON representation](https://developers.google.com/fact-check/tools/api/reference/rest/v1alpha1/pages#ClaimReviewMarkup.SCHEMA_REPRESENTATION)
- [ClaimAuthor](https://developers.google.com/fact-check/tools/api/reference/rest/v1alpha1/pages#ClaimAuthor)
  - [JSON representation](https://developers.google.com/fact-check/tools/api/reference/rest/v1alpha1/pages#ClaimAuthor.SCHEMA_REPRESENTATION)
- [ClaimRating](https://developers.google.com/fact-check/tools/api/reference/rest/v1alpha1/pages#ClaimRating)
  - [JSON representation](https://developers.google.com/fact-check/tools/api/reference/rest/v1alpha1/pages#ClaimRating.SCHEMA_REPRESENTATION)
- [Methods](https://developers.google.com/fact-check/tools/api/reference/rest/v1alpha1/pages#METHODS_SUMMARY)

## Resource: ClaimReviewMarkupPage

Holds one or more instances of `ClaimReview` markup for a webpage.

| JSON representation |
|---|
| ``` { "name": string, "pageUrl": string, "publishDate": string, "claimReviewAuthor": { object (`https://developers.google.com/fact-check/tools/api/reference/rest/v1alpha1/pages#ClaimReviewAuthor`) }, "claimReviewMarkups": [ { object (`https://developers.google.com/fact-check/tools/api/reference/rest/v1alpha1/pages#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 (`https://developers.google.com/fact-check/tools/api/reference/rest/v1alpha1/pages#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 (`https://developers.google.com/fact-check/tools/api/reference/rest/v1alpha1/pages#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 (`https://developers.google.com/fact-check/tools/api/reference/rest/v1alpha1/pages#ClaimAuthor`) }, "rating": { object (`https://developers.google.com/fact-check/tools/api/reference/rest/v1alpha1/pages#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 (`https://developers.google.com/fact-check/tools/api/reference/rest/v1alpha1/pages#ClaimAuthor`)`` Info about the author of this claim. |
| `rating` | ``object (`https://developers.google.com/fact-check/tools/api/reference/rest/v1alpha1/pages#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 ||
|---|---|
| ### `https://developers.google.com/fact-check/tools/api/reference/rest/v1alpha1/pages/create` | Create `ClaimReview` markup on a page. |
| ### `https://developers.google.com/fact-check/tools/api/reference/rest/v1alpha1/pages/delete` | Delete all `ClaimReview` markup on a page. |
| ### `https://developers.google.com/fact-check/tools/api/reference/rest/v1alpha1/pages/get` | Get all `ClaimReview` markup on a page. |
| ### `https://developers.google.com/fact-check/tools/api/reference/rest/v1alpha1/pages/list` | List the `ClaimReview` markup pages for a specific URL or for an organization. |
| ### `https://developers.google.com/fact-check/tools/api/reference/rest/v1alpha1/pages/update` | Update for all `ClaimReview` markup on a page Note that this is a full update. |