PUT api/2.0/community/wiki/{name}
Updates a wiki page with the name and content specified in the request.
Name |
Description |
Type |
Example |
name
sent in url
|
New page name
|
string
|
some text
|
body
sent in body
|
New page content
|
string
|
some text
|
PUT api/2.0/community/wiki/some+text
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"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": "2023-02-01T01:35:47.6103579Z"
}
}
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>2023-02-01T01:35:47.6103579Z</updated>
</response>
</result>