文章 List Wiki Page REST 端点

URLs

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

LIST pages for a wiki.

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

LIST child pages for a wiki page.

请求参数

名称

类型

描述

必需

默认值

选项

WikiId

int?

Wiki Id

是

ParentPageId

int?

Parent Page Id

否

IncludeSubGroupContent

bool?

Include Sub Group Content

否

IncludeDisabledPages

bool?

When set to true, disabled pages are included if the requesting user also has permission to delete/disable wiki pages.

否

GroupId

int?

Group Id

否

Tags

string

Tags

否

QueryType

string

Options are: All, New, Updated, AllByTags

否

AuthorId

int?

Author Id

否

ContentIds

string

Comma separated list of ContentIds. Used to limit to a specific set of wiki pages as well as sort order if SoryBy is set to ContentIdsOrder

否

SortBy

string

Options are: Date, Score:SCORE_ID, CreatedDate, ContentIdsOrder

否

SortOrder

string

Options are Ascending or Descending. Default is Descending.

否

ShowHiddenInTableOfContents

bool?

When true the list will only show items with their HiddenInTableOfContents flag set to true. When false they are excluded. Not specifying a value will show both.

否

PageSize

int?

Specify the number of results to return per page. If not set the default is 20. The max is 100.

否

PageIndex

int?

Specify the page number of paged results to return. Zero-based index. If not specified the default is 0.

否