Create a new variable
POST/variables/create
Create a new variable
Request
- application/json
Body
type stringrequired
Possible values: [float
, geo
]
name stringrequired
desc string
variable stringrequired
ttl integer
Time-To-Live(TTL) in months for the data submitted for this variable. By default it is set to 1200 months(100 Years!)
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
success boolean
error string
errorcode integer
variableId string
{
"success": true,
"error": "string",
"errorcode": 0,
"variableId": "string"
}
Loading...