With the Search API, you can retrieve Elasticsearch-based keyword search results on your website, APP, WeChat Mini Program, and other channels.
*This feature is only supported for Enterprise Edition users
Request method | Request address |
GET | http://api.helplook.net/api/es/search-tannant |
Parameters
Parameter name | Type | Required | Description |
keyword | string | Yes | Keywords for search |
token | string | Yes | Get it from the AI Integrations -> AI Token |
page | string | No | Number of pages, default is 1 |
pagesize | string | No | Page size, default is 5 |
Return data
{
"data": {
"list": [
{
"id": "12345",
"string_id": "testid",
"tannant_id": "85",
"name": "column name",
"type": "1",
"slug": "hhhh",
"status": "1",
"order": "5",
"content": "",
"add_time": "1685515614",
"update_time": "1686641104"
},
{
"id": "12346",
"string_id": "im69RR",
"tannant_id": "85",
"name": "document title",
"type": "2",
"slug": "im69RR",
"status": "1",
"order": "2",
"content": "article content",
"add_time": "1686641109",
"update_time": "1691489920"
}
],
"total": 1,
"page": 1,
"page_size": 5
},
"msg": "Success",
"code": 200
}