Create a Variable
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
💡
Compute Unit Value:
10(fixed)
The variable object to create
name
string
required
The unique name of the variable.description
string
Optional description of the variable.type
string
enum
required
The data type of the variable.
Allowed:
number``bool``string
``201 Variable created
``default Unexpected error
Updated 2 months ago
curl --request POST \
--url https://svc.blockdaemon.com/streaming/v2/variables \
--header 'accept: application/json' \
--header 'authorization: Bearer ••••' \
--header 'content-type: application/json' \
--data '{"type":"number"}'
application/json
"201"
"default"