baseSitePage 资源类型

命名空间:microsoft.graph

重要

Microsoft Graph /beta 版本下的 API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。

一种抽象类型,表示网站页面库中的页面。

继承自 baseItem

方法

方法 返回类型 说明
列出 baseSitePage baseSitePage 集合 从网站中的网站页列表中获取 baseSitePage 对象的集合。
获取 baseSitePage baseSitePage 获取站点中网站页列表中的baseSitePage元数据。
删除 baseSitePage 删除 baseSitePage 对象。

属性

属性 类型 说明
contentType contentTypeInfo 此项的内容类型。 继承自 baseItem
createdBy identitySet 此项的创建者的标识。 只读。 继承自 baseItem
createdDateTime DateTimeOffset 项的创建日期和时间。 此为只读属性。 继承自 baseItem
说明 String 项目的描述性文本。 继承自 baseItem
eTag String 该项目的 ETag。 继承自 baseItem
id String 项的唯一标识符。 继承自 entity
lastModifiedBy identitySet 此项的最后一个修饰符的标识。 此为只读属性。 继承自 baseItem
lastModifiedDateTime DateTimeOffset 上次修改项目的日期和时间。 此为只读属性。 继承自 baseItem
name String 项目名称。 继承自 baseItem
pageLayout pageLayoutType 页面的页面布局的名称。 可能的值包括 microsoftReservedarticlehomeunknownFutureValue
parentReference itemReference 父信息(如果此项具有父级)。 继承自 baseItem
publishingState publicationFacet 页面的发布状态和 MM.mm 版本。
title String sitePage 的标题。
webUrl String 在浏览器中显示此资源的 URL。 此为只读属性。 继承自 baseItem

pageLayoutType 值

说明
microsoftReserved 页面是保留给 Microsoft 使用的特殊类型。
文章 页面是文章页。
该页是主页。
unknownFutureValue 用于将来兼容性的标记值。

关系

关系 类型 说明
createdByUser user 此项的创建者的标识。 只读。 继承自 baseItem
lastModifiedByUser user 此项的最后一个修饰符的标识。 只读。 继承自 baseItem

JSON 表示形式

下面是资源的 JSON 表示形式。

{
  "@odata.type": "#microsoft.graph.baseSitePage",
  "id": "String (identifier)",
  "createdBy": {
    "@odata.type": "microsoft.graph.identitySet"
  },
  "createdDateTime": "String (timestamp)",
  "contentType": {
    "@odata.type": "microsoft.graph.contentTypeInfo"
  },
  "description": "String",
  "eTag": "String",
  "lastModifiedBy": {
    "@odata.type": "microsoft.graph.identitySet"
  },
  "lastModifiedDateTime": "String (timestamp)",
  "name": "String",
  "parentReference": {
    "@odata.type": "microsoft.graph.itemReference"
  },
  "webUrl": "String",
  "title": "String",
  "pageLayout": "String",
  "publishingState": {
    "@odata.type": "microsoft.graph.publicationFacet"
  }
}