Indexes
List all indexes of a collection
Fetch the list of all indexes of a collection.
get/_fabric/{fabric}/_api/index
Request
- The document declares no server URL.
- Auth
- API key in header Authorization
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
fabricstring string required
The name of the fabric.
Query parameters
collectionstring required
The collection name.
Response
Successfully fetched indexes.
Example response
{
"code": 200,
"indexes": [
{
"fields": [
"_key"
],
"id": "61862387",
"name": "idx_1723573111790501888",
"selectivityEstimate": 1,
"type": "fulltext",
"unique": true
}
],
"identifiers": {
"global_demo/0": {
"fields": [
"_key"
],
"id": "61862387",
"name": "idx_1723573111790501888",
"selectivityEstimate": 1,
"type": "fulltext",
"unique": true
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.