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