Etcd · Schema

TxnResponse

Response from a transaction execution

Cloud NativeConsensusDistributed SystemsGraduatedKey-Value StoreKubernetes

Properties

Name Type Description
header object
succeeded boolean True if all compare conditions were true and the success branch was executed
responses array Results of the operations executed in the branch that ran
View JSON Schema on GitHub

JSON Schema

etcd-txnresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TxnResponse",
  "title": "TxnResponse",
  "type": "object",
  "description": "Response from a transaction execution",
  "properties": {
    "header": {
      "$ref": "#/components/schemas/ResponseHeader"
    },
    "succeeded": {
      "type": "boolean",
      "description": "True if all compare conditions were true and the success branch was executed"
    },
    "responses": {
      "type": "array",
      "description": "Results of the operations executed in the branch that ran",
      "items": {
        "type": "object",
        "description": "Operation response"
      }
    }
  }
}