Couchbase · Schema

DocumentWriteResponse

Response from a document write operation

AnalyticsApp ServicesBackupCapellaCloudDatabaseDBaaSEventingFull-Text SearchGatewayJSONMobileNoSQLReplicationSQL++SyncVector SearchXDCR

Properties

Name Type Description
id string Document ID
rev string New revision ID
ok boolean Whether the operation succeeded
View JSON Schema on GitHub

JSON Schema

couchbase-documentwriteresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/DocumentWriteResponse",
  "title": "DocumentWriteResponse",
  "type": "object",
  "description": "Response from a document write operation",
  "properties": {
    "id": {
      "type": "string",
      "description": "Document ID"
    },
    "rev": {
      "type": "string",
      "description": "New revision ID"
    },
    "ok": {
      "type": "boolean",
      "description": "Whether the operation succeeded"
    }
  }
}