...
This API allows you to trigger an index rebuild job in Hawksearch dashboard.
Full Index
Request: POST request with empty body to the API below:
Code Block | ||
---|---|---|
| ||
POST /api/v9/index HTTP/1.1
Host: manage.hawksearch.com
X-HawkSearch-ApiKey: USE_YOUR_API_KEY
Cache-Control: no-cache
{} |
Index with Arguments - Only exists in dev environment
Request: POST request with empty body to the API below:
Code Block | ||
---|---|---|
| ||
POST /api/v9/index/trigger HTTP/1.1 Host: dev.hawksearch.net X-HawkSearch-ApiKey: USE_YOUR_API_KEY Cache-Control: no-cache { "args":"partial" } |
Response: The response is an array of string objects, every object being a series of key-value pairs. Description of the data is as follows:
...