Apache CouchDB · Schema

IndexesResponse

List of Mango indexes for a database

ApacheDatabaseDocument StoreJSONNoSQLOpen SourceReplicationREST

Properties

Name Type Description
total_rows integer Number of indexes
indexes array
View JSON Schema on GitHub

JSON Schema

apache-couchdb-indexes-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-couchdb/refs/heads/main/json-schema/apache-couchdb-indexes-response-schema.json",
  "title": "IndexesResponse",
  "description": "List of Mango indexes for a database",
  "type": "object",
  "properties": {
    "total_rows": {
      "type": "integer",
      "description": "Number of indexes",
      "example": 2
    },
    "indexes": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "ddoc": {
            "type": "string",
            "example": "_design/idx-status"
          },
          "name": {
            "type": "string",
            "example": "idx-status"
          },
          "type": {
            "type": "string",
            "example": "json"
          },
          "def": {
            "type": "object"
          }
        }
      }
    }
  }
}