Get Started
Portal api methods
Help

GET api/2.0/community/wiki/search/bycontent/{content} This function requires authentication

Description

Returns the list of wiki pages with the content matching the search query specified in the request

Parameters
Name Description Type Example
content
sent in url
Part of the page content string some text
Example
GET api/2.0/community/wiki/search/bycontent/some+text
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

List of pages

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-12-12T20:36:51.5640442Z"
    }
  ]
}

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-12-12T20:36:51.5640442Z</updated>
  </response>
</result>