Get Started
Portal api methods
Help

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

Description

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

Parameters
Name Description Type Example
name
sent in url
Page name string some text
body
sent in body
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 info

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": "2019-06-23T18:26:26.5230921Z"
  }
}

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>2019-06-23T18:26:26.5230921Z</updated>
  </response>
</result>