Apache CouchDB · JSON Structure

Apache Couchdb Replication Response Structure

Result of a replication request

Type: object Properties: 4
ApacheDatabaseDocument StoreJSONNoSQLOpen SourceReplicationREST

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

Properties

ok session_id source_last_seq history

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-replication-response-structure.json",
  "name": "ReplicationResponse",
  "description": "Result of a replication request",
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean",
      "example": true
    },
    "session_id": {
      "type": "string",
      "example": "abc123def456"
    },
    "source_last_seq": {
      "type": "string",
      "example": "5000-abc123"
    },
    "history": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "session_id": {
            "type": "string"
          },
          "docs_written": {
            "type": "int32"
          },
          "doc_write_failures": {
            "type": "int32"
          }
        }
      }
    }
  }
}