{
  "opencollection": "1.0.0",
  "info": {
    "name": "Shuffle Administration Datastore API",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Datastore",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Set Cache Value",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://shuffler.io/api/v1/orgs/:org_id/set_cache",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path",
                "description": "Organization ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Stores a key-value pair in the organization datastore."
        },
        {
          "info": {
            "name": "Get Cache Value",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://shuffler.io/api/v1/orgs/:org_id/get_cache",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path",
                "description": "Organization ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Retrieves a value from the organization datastore by key."
        },
        {
          "info": {
            "name": "List Cache Items",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://shuffler.io/api/v1/orgs/:org_id/list_cache",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path",
                "description": "Organization ID"
              },
              {
                "name": "top",
                "value": "",
                "type": "query",
                "description": "Number of items to return"
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "Pagination cursor"
              },
              {
                "name": "category",
                "value": "",
                "type": "query",
                "description": "Filter by category"
              }
            ]
          },
          "docs": "Lists all cache items in the organization datastore."
        },
        {
          "info": {
            "name": "Delete Cache Item",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://shuffler.io/api/v1/orgs/:org_id/delete_cache",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path",
                "description": "Organization ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Removes a key-value pair from the organization datastore."
        }
      ]
    }
  ],
  "bundled": true
}