Etcd · Schema

WatchRequest

A watch stream request that can create or cancel watches

Cloud NativeConsensusDistributed SystemsGraduatedKey-Value StoreKubernetes

Properties

Name Type Description
create_request object
cancel_request object Request to cancel an existing watch
View JSON Schema on GitHub

JSON Schema

etcd-watchrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/WatchRequest",
  "title": "WatchRequest",
  "type": "object",
  "description": "A watch stream request that can create or cancel watches",
  "properties": {
    "create_request": {
      "$ref": "#/components/schemas/WatchCreateRequest"
    },
    "cancel_request": {
      "type": "object",
      "description": "Request to cancel an existing watch",
      "properties": {
        "watch_id": {
          "type": "string",
          "description": "ID of the watch to cancel"
        }
      }
    }
  }
}