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 | Quotas |
---|---|---|
Decrement | Base | None |
Delete | Base | None |
Get | Base | None |
Increment | Base | None |
List Keys | Base | None |
Set | Base | None |
Base request price is 0.000001 credits per request
Decrement Request
Response
{
"key": "counter",
"value": 0
}