POST
/
zk
/
create
curl --request POST \
  --url https://dev.startree.ai/zk/create \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '"<string>"'

Authorizations

Authorization
string
header
required

The format of the key is "Basic <token>" or "Bearer <token>"

Query Parameters

path
string
required

Zookeeper Path, must start with /

ttl
integer
default:-1

TTL of the node. TTL are only honoured for persistent znodes (access option = 0x40 or 0x80), in which case TTL should be > 0. If access option is not 0x40 or 0x80, it will be ignored, and we can set it to any value, or just ignore it

accessOption
integer
default:1

accessOption

Body

application/json · string

The body is of type string.