Get Started
Usage API
More information

PUT api/2.0/community/wiki/{name} This function requires authentication

Description

Updates a wiki page with the name and content specified in the request.

Parameters
Name Description Type Example
name
sent in url
New page name string some text
body
sent in body
New page content string some text
Example
PUT api/2.0/community/wiki/some+text
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "body": "some text"
}
Returns

Page information

Example Response

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-10-22T16:42:23.6980354Z"
  }
}

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-10-22T16:42:23.6980354Z</updated>
  </response>
</result>