編輯

共用方式為


baseSitePage resource type

Namespace: microsoft.graph

An abstract type that represents a page in the site page library.

Inherits from baseItem.

Methods

Method Return type Description
List baseSitePage collection Get the collection of baseSitePage objects from the site pages list in a site.
Get baseSitePage Get the metadata for a baseSitePage in the site pages list in a site.
Delete None Delete a baseSitePage object.

Properties

Property Type Description
contentType contentTypeInfo The content type of this item. Inherited from baseItem.
createdBy identitySet Identity of the creator of this item. Read-only. Inherited from baseItem.
createdDateTime DateTimeOffset The date and time the item was created. Read-only. Inherited from baseItem.
description String The descriptive text for the item. Inherited from baseItem.
eTag String ETag for the item. Inherited from baseItem.
id String The unique identifier of the item. Inherited from entity.
lastModifiedBy identitySet The identity of the last modifier of this item. Read-only. Inherited from baseItem.
lastModifiedDateTime DateTimeOffset The date and time the item was last modified. Read-only. Inherited from baseItem.
name String The name of the item. Inherited from baseItem.
pageLayout pageLayoutType The name of the page layout of the page. The possible values are: microsoftReserved, article, home, unknownFutureValue.
parentReference itemReference Parent information, if the item has a parent. Inherited from baseItem.
publishingState publicationFacet The publishing status and the MM.mm version of the page.
title String Title of the sitePage.
webUrl String URL that displays the resource in the browser. Read-only. Inherited from baseItem.

pageLayoutType values

Value Description
microsoftReserved The page is a special type reserved for Microsoft use only.
article The page is an article page.
home The page is a home page.
unknownFutureValue Marker value for future compatibility.

Relationships

Relationship Type Description
createdByUser user Identity of the creator of this item. Read-only. Inherited from baseItem
lastModifiedByUser user Identity of the last modifier of this item. Read-only. Inherited from baseItem

JSON representation

The following JSON representation shows the resource type.

{
  "@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"
  }
}