{
  "opencollection": "1.0.0",
  "info": {
    "name": "Cloudflare / Accounts Key-Value Pairs API",
    "version": "4.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Key-Value Pairs",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Cloudflare Read Key-value Pair",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/storage/kv/namespaces/:namespace_id/values/:key_name",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the Cloudflare account."
              },
              {
                "name": "namespace_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the KV namespace."
              },
              {
                "name": "key_name",
                "value": "",
                "type": "path",
                "description": "The key name. Use URL-encoding for special characters such as colon, exclamation mark, and percent."
              }
            ]
          },
          "docs": "Read the value of a specific key from the namespace."
        },
        {
          "info": {
            "name": "Cloudflare Write Key-value Pair",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/storage/kv/namespaces/:namespace_id/values/:key_name",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the Cloudflare account."
              },
              {
                "name": "namespace_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the KV namespace."
              },
              {
                "name": "key_name",
                "value": "",
                "type": "path",
                "description": "The key name. Use URL-encoding for special characters such as colon, exclamation mark, and percent."
              },
              {
                "name": "expiration",
                "value": "10",
                "type": "query",
                "description": "Unix timestamp for when the key should expire."
              },
              {
                "name": "expiration_ttl",
                "value": "10",
                "type": "query",
                "description": "Seconds until the key expires."
              }
            ]
          },
          "docs": "Write a value for a specific key in the namespace. Optionally set expiration and metadata."
        },
        {
          "info": {
            "name": "Cloudflare Delete Key-value Pair",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/storage/kv/namespaces/:namespace_id/values/:key_name",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the Cloudflare account."
              },
              {
                "name": "namespace_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the KV namespace."
              },
              {
                "name": "key_name",
                "value": "",
                "type": "path",
                "description": "The key name. Use URL-encoding for special characters such as colon, exclamation mark, and percent."
              }
            ]
          },
          "docs": "Delete a key-value pair from the namespace."
        }
      ]
    }
  ],
  "bundled": true
}