Indexes

List all indexes of a collection

Fetch the list of all indexes of a collection.

get/_fabric/{fabric}/_api/index

Request

Path parameters

fabricstring string required

The name of the fabric.

Query parameters

collectionstring required

The collection name.

Response

Successfully fetched indexes.

codeinteger

HTTP response code.

errorboolean

Flag if there is an error in response. False for this response.

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.