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/%22some+text%22
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": "\\/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>