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 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": "\\/Products\\/People\\/Profile.aspx?user=administrator"
    },
    "Updated": "2020-12-08T17:37:03.3164965Z"
  }
}

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>\/Products\/People\/Profile.aspx?user=administrator</ProfileUrl>
    </UpdatedBy>
    <Updated>2020-12-08T17:37:03.3164965Z</Updated>
  </response>
</result>