页面资源类型page resource type

OneNote 笔记本中的页面。A page in a OneNote notebook.

JSON 表示形式JSON representation

下面是资源的 JSON 表示形式。Here is a JSON representation of the resource.

{
  "content": "stream",
  "contentUrl": "string",
  "createdByAppId": "string",
  "createdDateTime": "String (timestamp)",
  "id": "string (identifier)",
  "lastModifiedDateTime": "String (timestamp)",
  "level": 1024,
  "links": {"@odata.type": "microsoft.graph.pageLinks"},
  "order": 1024,
  "self": "string",
  "title": "string"
}

属性Properties

属性Property 类型Type 说明Description
contentcontent Stream 页面的 HTML 内容。The page's HTML content.
contentUrlcontentUrl StringString 页面的 HTML 内容的 URL。The URL for the page's HTML content. 只读。Read-only.
createdByAppIdcreatedByAppId StringString 创建页面的应用程序的唯一标识符。The unique identifier of the application that created the page. 只读。Read-only.
createdDateTimecreatedDateTime DateTimeOffsetDateTimeOffset 页面的创建日期和时间。The date and time when the page was created. 时间戳表示使用 ISO 8601 格式的日期和时间信息,并且始终处于 UTC 时间。The timestamp represents date and time information using ISO 8601 format and is always in UTC time. 例如,2014 年 1 月 1 日午夜 UTC 如下所示:'2014-01-01T00:00:00Z'For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. 只读。Read-only.
idid 字符串String 页面的唯一标识符。The unique identifier of the page. 只读。Read-only.
lastModifiedDateTimelastModifiedDateTime DateTimeOffsetDateTimeOffset 上次修改页面的日期和时间。The date and time when the page was last modified. 时间戳表示使用 ISO 8601 格式的日期和时间信息,并且始终处于 UTC 时间。The timestamp represents date and time information using ISO 8601 format and is always in UTC time. 例如,2014 年 1 月 1 日午夜 UTC 如下所示:'2014-01-01T00:00:00Z'For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. 只读。Read-only.
块级level Int32Int32 页面的缩进级别。The indentation level of the page. 只读。Read-only.
linkslinks PageLinksPageLinks 用于打开页面的链接。Links for opening the page. 如果oneNoteClientURL安装了 OneNote 本机客户端, 则链接将在其中打开页面。The oneNoteClientURL link opens the page in the OneNote native client if it 's installed. oneNoteWebUrl链接将在 web 上的 OneNote 中打开页面。The oneNoteWebUrl link opens the page in OneNote on the web. 只读。Read-only.
顺序order Int32Int32 页面在其父节中的顺序。The order of the page within its parent section. 只读。Read-only.
自学self StringString 可在其中获取有关页面的详细信息的终结点。The endpoint where you can get details about the page. 只读。Read-only.
titletitle StringString 页面的标题。The title of the page.

关系Relationships

关系Relationship 类型Type 说明Description
parentNotebookparentNotebook 笔记本Notebook 包含页面的笔记本。The notebook that contains the page. 只读。Read-only.
parentSectionparentSection OnenoteSectionOnenoteSection 包含页面的部分。The section that contains the page. 只读的。Read-only.

方法Methods

方法Method 返回类型Return Type 说明Description
获取页面Get page PagePage 读取页面的属性和关系。Read the properties and relationships of the page.
更新页面内容Update page content None 更新页面的 HTML 内容。Update the HTML content of the page.
删除页面Delete page None 删除页面。Delete the page.
copyToSectioncopyToSection None 将页面复制到特定分区。Copies the page to a specific section.