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