Set a Value
POST/valuestore/setValue
Creates a value in the value store if does not exist, updates if exist.
note
You can store maximum of 512kB of data in a value
Request
- application/json
Body
namespace objectrequired
scope stringrequired
Possible values: [global
, node
]
id stringrequired
Expects a project wide unique string ID for global
and expects valid nodeID string in case scope is node
key stringrequired
value stringrequired
type stringrequired
Possible values: [string
, binary
, float
, boolean
]
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
success boolean
error string
errorcode integer
{
"success": true,
"error": "string",
"errorcode": 0
}
Loading...