GET api/2.0/community/wiki/search/bycontent/{content}
Returns the list of wiki pages with the content matching the search query specified in the request
Name |
Description |
Type |
Example |
content
sent in url
|
Part of the page content
|
string
|
some text
|
GET api/2.0/community/wiki/search/bycontent/some+text
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
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-03-02T06:12:00.6520480Z"
}
]
}
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-03-02T06:12:00.6520480Z</updated>
</response>
</result>