POST api/2.0/community/wiki
Creates a new wiki page with the page name and content specified in the request
Name |
Description |
Type |
Example |
name
sent in body
|
Page name
|
string
|
some text
|
body
sent in body
|
Page content
|
string
|
some text
|
POST api/2.0/community/wiki
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"name": "some text",
"body": "some text"
}
application/json
{
"status": 0,
"response": {
"name": "Page name",
"content": "Page content",
"updatedBy": {
"id": "00000000-0000-0000-0000-000000000000",
"displayName": "Mike Zanyatski",
"title": "Manager",
"avatarSmall": "url to small avatar",
"profileUrl": ""
},
"updated": "2021-04-18T14:41:19.2556889Z"
}
}
text/xml
<result>
<status>0</status>
<response>
<name>Page name</name>
<content>Page content</content>
<updatedBy>
<id>00000000-0000-0000-0000-000000000000</id>
<displayName>Mike Zanyatski</displayName>
<title>Manager</title>
<avatarSmall>url to small avatar</avatarSmall>
<profileUrl></profileUrl>
</updatedBy>
<updated>2021-04-18T14:41:19.2556889Z</updated>
</response>
</result>