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