Apache CouchDB · JSON Structure

Apache Couchdb Create Index Response Structure

Response from creating a Mango index

Type: object Properties: 3
ApacheDatabaseDocument StoreJSONNoSQLOpen SourceReplicationREST

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

Properties

result id name

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-create-index-response-structure.json",
  "name": "CreateIndexResponse",
  "description": "Response from creating a Mango index",
  "type": "object",
  "properties": {
    "result": {
      "type": "string",
      "description": "created or exists",
      "enum": [
        "created",
        "exists"
      ],
      "example": "created"
    },
    "id": {
      "type": "string",
      "description": "Design document ID",
      "example": "_design/idx-status-type"
    },
    "name": {
      "type": "string",
      "description": "Index name",
      "example": "idx-status-type"
    }
  }
}