REST Resource: pages

资源:ClaimReviewMarkupPage

用于保存网页的一个或多个 ClaimReview 标记实例。

JSON 表示法
{
  "name": string,
  "pageUrl": string,
  "publishDate": string,
  "claimReviewAuthor": {
    object (ClaimReviewAuthor)
  },
  "claimReviewMarkups": [
    {
      object (ClaimReviewMarkup)
    }
  ],
  "versionId": string
}
字段
name

string

相应 ClaimReview 标记网页资源的名称,格式为 pages/{page_id}。除了更新请求之外,此字段仅限输出,不应由用户设置。

pageUrl

string

与此 ClaimReview 标记关联的网页的网址。虽然每个 ClaimReview 都有自己的网址字段,但从语义上讲,这是一个网页级字段,除非单独替换,否则此网页上的每个 ClaimReview 都将使用此值。
对应于 ClaimReview.url

publishDate

string

事实核查的发布日期。与网址类似,从语义上讲,这是一个网页级字段,网页上的每个 ClaimReview 都将包含相同的值。
对应于 ClaimReview.datePublished

claimReviewAuthor

object (ClaimReviewAuthor)

此事实核查的作者的相关信息。与上述类似,从语义上讲,这些是网页级字段,相应网页上的每个 ClaimReview 都将包含相同的值。

claimReviewMarkups[]

object (ClaimReviewMarkup)

相应页面的各个版权主张审核的列表。列表中的每个项都对应一个 ClaimReview 元素。

versionId

string

相应标记的版本 ID。除了更新请求之外,此字段仅限输出,不应由用户设置。

ClaimReviewAuthor

有关声明审核作者的信息。

JSON 表示法
{
  "name": string,
  "imageUrl": string
}
字段
name

string

发布事实核查的组织的名称。
对应于 ClaimReview.author.name

imageUrl

string

对应于 ClaimReview.author.image

ClaimReviewMarkup

单个 ClaimReview 元素的字段。除了将字段分组在一起的子消息之外,这些字段中的每一个都对应于 https://schema.org/ClaimReview 中的字段。我们会列出每个字段的精确映射。

JSON 表示法
{
  "url": string,
  "claimReviewed": string,
  "claimDate": string,
  "claimLocation": string,
  "claimFirstAppearance": string,
  "claimAppearances": [
    string
  ],
  "claimAuthor": {
    object (ClaimAuthor)
  },
  "rating": {
    object (ClaimRating)
  }
}
字段
url

string

此字段是可选字段,默认值为网页网址。我们提供此字段是为了让您能够替换默认值,但唯一允许的替换是网页网址加上可选的锚点链接(“网页跳转”)。
对应于 ClaimReview.url

claimReviewed

string

所评估声明的简短摘要。
对应于 ClaimReview.claimReviewed

claimDate

string

做出声明或声明成为公众话题的日期。
对应于 ClaimReview.itemReviewed.datePublished

claimLocation

string

提出相应版权主张的地点。
对应于 ClaimReview.itemReviewed.name

claimFirstAppearance

string

指向首次显示此声明的作品的链接。
对应于 ClaimReview.itemReviewed[@type=Claim].firstAppearance.url

claimAppearances[]

string

此声明所出现的作品的链接列表(claimFirstAppearance 中指定的作品除外)。
对应于 ClaimReview.itemReviewed[@type=Claim].appearance.url

claimAuthor

object (ClaimAuthor)

有关相应版权主张的提交者的信息。

rating

object (ClaimRating)

有关此声明审核的评分信息。

ClaimAuthor

声明作者的相关信息。

JSON 表示法
{
  "name": string,
  "jobTitle": string,
  "imageUrl": string,
  "sameAs": string
}
字段
name

string

提出声明的个人或组织。例如,“John Doe”。
对应于 ClaimReview.itemReviewed.author.name

jobTitle

string

对应于 ClaimReview.itemReviewed.author.jobTitle

imageUrl

string

对应于 ClaimReview.itemReviewed.author.image

sameAs

string

对应于 ClaimReview.itemReviewed.author.sameAs

ClaimRating

有关声明评级的信息。

JSON 表示法
{
  "textualRating": string,
  "ratingValue": integer,
  "worstRating": integer,
  "bestRating": integer,
  "ratingExplanation": string,
  "imageUrl": string
}
字段
textualRating

string

真实度评分,采用便于用户阅读的简短字词或短语。
对应于 ClaimReview.reviewRating.alternateName

ratingValue

integer

相应声明的数字评分,介于 worstRating(含)到 bestRating(含)之间。
对应于 ClaimReview.reviewRating.ratingValue

worstRating

integer

用于数字评分,表示最差到最佳评分范围内可能的最差值。
对应于 ClaimReview.reviewRating.worstRating

bestRating

integer

用于数字评分,表示最差到最佳评分范围内可能的最佳值。
对应于 ClaimReview.reviewRating.bestRating

ratingExplanation

string

对应于 ClaimReview.reviewRating.ratingExplanation

imageUrl

string

对应于 ClaimReview.reviewRating.image

方法

create

在网页上创建 ClaimReview 标记。

delete

删除网页上的所有 ClaimReview 标记。

get

获取网页上的所有 ClaimReview 标记。

list

列出特定网址或组织的 ClaimReview 标记网页。

update

更新了网页上所有 ClaimReview 标记

请注意,这是完整更新。