Apache CouchDB · JSON Structure

Apache Couchdb Write Response Structure

Response from a document write operation

Type: object Properties: 3
ApacheDatabaseDocument StoreJSONNoSQLOpen SourceReplicationREST

WriteResponse 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

ok id rev

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-write-response-structure.json",
  "name": "WriteResponse",
  "description": "Response from a document write operation",
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean",
      "example": true
    },
    "id": {
      "type": "string",
      "description": "Document ID",
      "example": "doc001"
    },
    "rev": {
      "type": "string",
      "description": "New revision ID",
      "example": "1-abc123def456"
    }
  }
}