Skip to main content
POST
Add to a counter in a key-value storage instance

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Path Parameters

id
string
required

A storage instance id: si_ + 12 base32 characters.

Body

application/json
key
string
required

1..=512 bytes.

by
integer
ttl_ms
integer

Milliseconds until the key expires; an expired key is absent everywhere.

Required range: x >= 1

Response

OK

The response is of type object.