文章 Create Wiki Page REST 端点

URLs

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

CREATE a wiki page.

请求参数

名称

类型

描述

必需

默认值

选项

WikiId

int?

Wiki 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.

否

ForumThreadId

int?

Forum Thread Id

否

CreatedDate

DateTime?

Created Date

否

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.

否