Get Started
Usage API
More information

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

Description

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

Parameters
Name Description Type Example
content
sent in url
Search query 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": "2021-10-26T01:24:23.4608273Z"
    }
  ]
}

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-26T01:24:23.4608273Z</updated>
  </response>
</result>