{
  "opencollection": "1.0.0",
  "info": {
    "name": "KVdb Buckets Keys API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Keys",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List keys",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://kvdb.io/:bucket_id",
            "params": [
              {
                "name": "bucket_id",
                "value": "",
                "type": "path",
                "description": "KVdb bucket identifier"
              },
              {
                "name": "prefix",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "format",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List keys in the bucket, optionally filtered by a prefix."
        },
        {
          "info": {
            "name": "Get key value",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://kvdb.io/:bucket_id/:key",
            "params": [
              {
                "name": "bucket_id",
                "value": "",
                "type": "path",
                "description": "KVdb bucket identifier"
              },
              {
                "name": "key",
                "value": "",
                "type": "path",
                "description": "Key within the bucket"
              }
            ]
          },
          "docs": "Retrieve the value stored at the given key."
        },
        {
          "info": {
            "name": "Set key value",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://kvdb.io/:bucket_id/:key",
            "params": [
              {
                "name": "bucket_id",
                "value": "",
                "type": "path",
                "description": "KVdb bucket identifier"
              },
              {
                "name": "key",
                "value": "",
                "type": "path",
                "description": "Key within the bucket"
              }
            ]
          },
          "docs": "Store a value at the given key (up to 16 KB by default)."
        },
        {
          "info": {
            "name": "Increment or decrement numeric value",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://kvdb.io/:bucket_id/:key",
            "params": [
              {
                "name": "bucket_id",
                "value": "",
                "type": "path",
                "description": "KVdb bucket identifier"
              },
              {
                "name": "key",
                "value": "",
                "type": "path",
                "description": "Key within the bucket"
              }
            ]
          },
          "docs": "Atomically increment or decrement a numeric value at the given key."
        },
        {
          "info": {
            "name": "Delete key",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://kvdb.io/:bucket_id/:key",
            "params": [
              {
                "name": "bucket_id",
                "value": "",
                "type": "path",
                "description": "KVdb bucket identifier"
              },
              {
                "name": "key",
                "value": "",
                "type": "path",
                "description": "Key within the bucket"
              }
            ]
          },
          "docs": "Delete the key and its value from the bucket."
        }
      ]
    }
  ],
  "bundled": true
}