KV Store
Set a value with optional expiration
Changed onpost/kv/set
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Request body
Example request
{
"ex": 3600,
"key": "user:123",
"project_id": 1
}Response
Value set, or result: null when an NX/XX condition did not hold
Example response
{
"result": "OK"
}Changes
- breaking
the response property
resultbecame nullable for the status - breaking
the response property
resultbecame optional for the status
- breaking
- info
endpoint added
- info