Couchbase · Schema

DocumentResponse

Response after creating or updating a document

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-documentresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/DocumentResponse",
  "title": "DocumentResponse",
  "type": "object",
  "description": "Response after creating or updating a document",
  "properties": {
    "id": {
      "type": "string",
      "description": "Document ID"
    },
    "rev": {
      "type": "string",
      "description": "New revision ID"
    },
    "ok": {
      "type": "boolean",
      "description": "Whether the operation succeeded"
    }
  }
}