Apache CouchDB · Schema

ReplicationResponse

Result of a replication request

ApacheDatabaseDocument StoreJSONNoSQLOpen SourceReplicationREST

Properties

Name Type Description
ok boolean
session_id string
source_last_seq string
history array
View JSON Schema on GitHub

JSON Schema

apache-couchdb-replication-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-replication-response-schema.json",
  "title": "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": "integer"
          },
          "doc_write_failures": {
            "type": "integer"
          }
        }
      }
    }
  }
}