GET api/2.0/community/wiki/search/byname/{name}
Returns a list of wiki pages with the name matching the search query specified in the request.
Name |
Description |
Type |
Example |
name
sent in url
|
Search query
|
string
|
some text
|
GET api/2.0/community/wiki/search/byname/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": "2022-06-28T18:23:13.2817975Z"
}
]
}
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>2022-06-28T18:23:13.2817975Z</updated>
</response>
</result>