跳到主要内容

Get a page

GET /api/2.0/community/wiki/{name}

Returns the detailed information on a wiki page with the name and version specified in the request.

Path parameters​

name​

type: string

Page name

Example: "string"

Request body​

version​

type: integer[]

Page version

Request example​

{
"version": [
0
]
}

Returns​

Page information. A request that is not authenticated returns 401.

Name​

type: string

Example: "Page name"

Content​

type: string

Example: "Page content"

UpdatedBy​

type: EmployeeWraper

Updated​

type: string

Example: "2020-12-08T17:37:03.3164965Z"

Response example​

{
"Name": "Page name",
"Content": "Page content",
"UpdatedBy": {
"Id": "00000000-0000-0000-0000-000000000000",
"DisplayName": "Mike Zanyatski",
"Title": "Manager",
"AvatarSmall": "url to small avatar",
"ProfileUrl": "/Products/People/Profile.aspx?user=administrator"
},
"Updated": "2020-12-08T17:37:03.3164965Z"
}