{ "opencollection": "1.0.0", "info": { "name": "Fastly Account ACL KV Store Item API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "Fastly-Key", "value": "{{Fastly-Key}}", "placement": "header" } }, "items": [ { "info": { "name": "KV Store Item", "type": "folder" }, "items": [ { "info": { "name": "List keys in a KV store", "type": "http" }, "http": { "method": "GET", "url": "https://api.fastly.com/resources/stores/kv/:store_id/keys", "params": [ { "name": "store_id", "value": "", "type": "path", "description": "The alphanumeric string identifying the store." }, { "name": "cursor", "value": "", "type": "query", "description": "A cursor for pagination." }, { "name": "limit", "value": "", "type": "query", "description": "The maximum number of keys to return." }, { "name": "prefix", "value": "", "type": "query", "description": "A prefix to filter keys by." } ] }, "docs": "Retrieves a list of all keys stored in a specific KV store." }, { "info": { "name": "Get a KV store item", "type": "http" }, "http": { "method": "GET", "url": "https://api.fastly.com/resources/stores/kv/:store_id/keys/:key_name", "params": [ { "name": "store_id", "value": "", "type": "path", "description": "The alphanumeric string identifying the store." }, { "name": "key_name", "value": "", "type": "path", "description": "The key name of the item." } ] }, "docs": "Retrieves the value and metadata of a specific item in a KV store." }, { "info": { "name": "Insert or update a KV store item", "type": "http" }, "http": { "method": "PUT", "url": "https://api.fastly.com/resources/stores/kv/:store_id/keys/:key_name", "params": [ { "name": "store_id", "value": "", "type": "path", "description": "The alphanumeric string identifying the store." }, { "name": "key_name", "value": "", "type": "path", "description": "The key name of the item." }, { "name": "time_to_live_sec", "value": "", "type": "query", "description": "The time to live in seconds for the item." }, { "name": "metadata", "value": "", "type": "query", "description": "Optional metadata to attach to the item." } ] }, "docs": "Creates or updates an item in a KV store." }, { "info": { "name": "Delete a KV store item", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.fastly.com/resources/stores/kv/:store_id/keys/:key_name", "params": [ { "name": "store_id", "value": "", "type": "path", "description": "The alphanumeric string identifying the store." }, { "name": "key_name", "value": "", "type": "path", "description": "The key name of the item." } ] }, "docs": "Deletes a specific item from a KV store." } ] } ], "bundled": true }