Index
Get Index Info
Changed onGet index Info from index with index_id
get/api/v1/index/{index_id}
Request
- Base URLhttp://127.0.0.1
- Authnone declared. Required headers: apikey
- TypeScripthttps://skmtc.dev/seekstorm/apis/seekstorm-rest-api-documentation/docs/api/v1/index/:index_id/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
index_idinteger required
index id
Headers
apikeystring required
YOUR_SECRET_API_KEY
Response
Index found, returns the index info
Example response
{
"name": "demo_index",
"schema": {
"title": {
"field": "title",
"store": true,
"index_lexical": true,
"field_type": "Text",
"boost": 10,
"field_id": 0
},
"body": {
"field": "body",
"store": true,
"index_lexical": true,
"field_type": "Text",
"field_id": 1
},
"url": {
"field": "url",
"store": true,
"index_lexical": false,
"field_type": "Text",
"field_id": 2
},
"date": {
"field": "date",
"store": true,
"index_lexical": false,
"field_type": "Timestamp",
"facet": true,
"field_id": 3
}
},
"version": "0.11.1",
"facets_minmax": {
"date": {
"min": 831306011,
"max": 1730901447
}
}
}Changes
- breaking
the response property
//became optional for the status - breaking
the response property
//became optional for the status - breaking
the response property
//became optional for the status - info
added the optional property
to the response with the status
- breaking
- info
api operation id
get_index_info_apiremoved and replaced withget_index_info
- info