文章 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.