storage
Fast access key-value storage
The cache service provides simple get/set/delete key-value storage. Values can be stored with an optional time-to-live (TTL) to automatically expire entries.
Decrement a value (if it's a number). If key not found it is equivalent to set.
Delete a value from the cache. If key not found a success response is returned.
Get an item from the cache by key. If key is not found, an empty response is returned.
Increment a value (if it's a number). If key not found it is equivalent to set.
List all the available keys
Set an item in the cache. Overwrites any existing value already set.
Endpoint | Credits |
---|---|
Decrement | Base |
Delete | Base |
Get | Base |
Increment | Base |
List Keys | Base |
Set | Base |
Base requests are 0.000001 credit per request (1 credit = $1 USD)
Decrement Request
Response
{
"key": "counter",
"value": 0
}