文章 Update Wiki Page REST 端点

URLs

PUT api/v1/wikis/{wikiid}/pages/{id}.xml (or .json)

UPDATE a wiki page.

PUT api/v1/wikis/pages/{id}.xml (or .json)

UPDATE a wiki page.

请求参数

名称

类型

描述

必需

默认值

选项

Id

int

Id

Title

string

Title

Body

string

Body

IsLocked

bool?

Is Locked

IsPublished

bool?

Is Published

IsFeatured

bool?

Default is false.

FeaturedImage

string

Used to include a featured image when IsFeatured is true.

ParentPageId

int?

Parent Page Id

UserId

int?

User Id

Tags

string

A comma separated list of tags.

WikiId

int?

Wiki Id

ForumThreadId

int?

Forum Thread Id

LastModifiedDate

DateTime?

Last Modified Date

SaveRevision

bool?

Default is true.

MetaTitle

string

Used in the page's title.

MetaKeywords

string

Keywords for the page's meta keywords tag.

MetaDescription

string

Description for the page's meta description tag.

Position

int?

Position in the table of contents relative to the parent with the first child being 1 and then increasing sequentially. Only applies to listing the table of contents.

HideInTableOfContents

bool?

When true this page will not be listed in the table of contents.