Apache CouchDB · JSON Structure

Apache Couchdb Indexes Response Structure

List of Mango indexes for a database

Type: object Properties: 2
ApacheDatabaseDocument StoreJSONNoSQLOpen SourceReplicationREST

IndexesResponse is a JSON Structure definition published by Apache CouchDB, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

total_rows indexes

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-couchdb/refs/heads/main/json-structure/apache-couchdb-indexes-response-structure.json",
  "name": "IndexesResponse",
  "description": "List of Mango indexes for a database",
  "type": "object",
  "properties": {
    "total_rows": {
      "type": "int32",
      "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"
          }
        }
      }
    }
  }
}