cURL
curl --request PUT \ --url https://api.gcore.com/fastedge/v1/kv/{id}/data \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' [ { "key": "<string>", "datatype": "kv", "op": "add", "payload": { "value": "<string>", "encoding": "plain", "expiry": "<string>" } } ] '
{ "del_count": 123, "revision": 123, "store_size": 123, "write_count": 123, "write_size": 123 }
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef
apikey
apikey 1234$abcdef
Id of the store
Force data type change
Key-value pair details
Key of the item
Data type of the item
kv
sorted_set
bloom_filter
Data operation
add
del_key
del_entries
KV pair value
Show child attributes
Ok
Number of deletes from the store
Current store revision
Total store size in bytes
Number of writes to the store
Size data written to the store in bytes
Was this page helpful?