Get Started
Portal api methods
Help

POST api/2.0/community/wiki This function requires authentication

Description

Creates a new wiki page with the page name and content specified in the request

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

{
  "name": "some text",
  "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-08-24T10:53:55.1008054Z"
  }
}

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-08-24T10:53:55.1008054Z</updated>
  </response>
</result>