Stash
Stash API specification.
All API endpoints are POST operations and any parameters must be fully contained in the request body.
Create Keyspace
Request body
application/json
Example
Delete Keyspace
Request body
application/json
Example
Delete Value
Delete a value in a table. This operation also returns the value as it existed in the moment before it was deleted.
Request body
application/json
Example
List Keyspaces
Request body
application/json
Example
Get Keyspace
Request body
application/json
Example
Increment Value
Increment a value.
Increment treats the initial value as 0 if no value exists for the key. Increment adds the given amount to the value. An error is thrown if the value exists and is not a number.
Request body
application/json
Example
Set Value
Set a Value in a Keyspace.
This operation will overwrite any previous Values that have been stored in the same Key.
Request body
application/json
The value associated with the key.
Can be any one of:
string
number
boolean
array
object
Example
Get Value
Get a Value from a Keyspace. Always returns the latest Value that has been stored. Empty object is returned when the given key does not exist.
Request body
application/json
Example
List Values
Request body
application/json
The number of results to return. If 1MB of results are processed before the pageSize is reached then the results fetched up to that point are returned. Default is to return up to 1MB of results. The value has a minimum of 1.
Example
Feedback
Have an idea for something we could improve? Page not clear? We love feedback - send us a message.