{
  "opencollection": "1.0.0",
  "info": {
    "name": "Cloudflare R2 Cloudflare Buckets Namespace Management API",
    "version": "4.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Namespace Management",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List namespaces in catalog",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/r2-catalog/:bucket_name/namespaces",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "Identifies the account."
              },
              {
                "name": "bucket_name",
                "value": "",
                "type": "path",
                "description": "Specifies the R2 bucket name."
              },
              {
                "name": "page_token",
                "value": "MSYxNzU5NzU1NTc4NTA0MTk0JjAxOTliOTliLTJjODgtNzNiMy04ZGJiLTQyMWUwZThmMjc1Nw",
                "type": "query",
                "description": "Opaque pagination token from a previous response.\nUse this to fetch the next page of results.\n"
              },
              {
                "name": "page_size",
                "value": "100",
                "type": "query",
                "description": "Maximum number of namespaces to return per page.\nDefaults to 100, maximum 1000.\n"
              },
              {
                "name": "parent",
                "value": "bronze",
                "type": "query",
                "description": "Parent namespace to filter by. Only returns direct children of this namespace.\nFor nested namespaces, use %1F as separator (e.g., \"bronze%1Fanalytics\").\nOmit this parameter to list top-level namespaces.\n"
              },
              {
                "name": "return_uuids",
                "value": "true",
                "type": "query",
                "description": "Whether to include namespace UUIDs in the response.\nSet to true to receive the namespace_uuids array.\n"
              },
              {
                "name": "return_details",
                "value": "true",
                "type": "query",
                "description": "Whether to include additional metadata (timestamps).\nWhen true, response includes created_at and updated_at arrays.\n"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Returns a list of namespaces in the specified R2 catalog.\nSupports hierarchical filtering and pagination for efficient traversal\nof large namespace hierarchies.\n"
        }
      ]
    }
  ],
  "bundled": true
}