{"name":"cloudflare","stage":"ga","description":"Package cloudflare is your Cloudflare account, managed from Hanzo: zones, Pages, Workers, Workers AI, R2, KV and D1.","operations":[{"operationId":"get_cloudflare_d1_databases","method":"GET","href":"/v1/cloudflare/d1/databases","summary":"Lists the D1 databases on the org's Cloudflare account."},{"operationId":"post_cloudflare_d1_databases","method":"POST","href":"/v1/cloudflare/d1/databases","summary":"Creates a D1 database on the org's Cloudflare account."},{"operationId":"delete_cloudflare_d1_databases_by_database","method":"DELETE","href":"/v1/cloudflare/d1/databases/{database}","summary":"Deletes a D1 database and everything stored in it."},{"operationId":"post_cloudflare_d1_databases_by_database_query","method":"POST","href":"/v1/cloudflare/d1/databases/{database}/query","summary":"Runs one SQL statement against a D1 database."},{"operationId":"get_cloudflare_kv_namespaces","method":"GET","href":"/v1/cloudflare/kv/namespaces","summary":"Lists the Workers KV namespaces on the org's Cloudflare account."},{"operationId":"post_cloudflare_kv_namespaces","method":"POST","href":"/v1/cloudflare/kv/namespaces","summary":"Creates a Workers KV namespace on the org's Cloudflare account."},{"operationId":"delete_cloudflare_kv_namespaces_by_namespace","method":"DELETE","href":"/v1/cloudflare/kv/namespaces/{namespace}","summary":"Deletes a Workers KV namespace and every key in it."},{"operationId":"delete_cloudflare_kv_namespaces_by_namespace_values_by_key","method":"DELETE","href":"/v1/cloudflare/kv/namespaces/{namespace}/values/{key}","summary":"Removes one key from a Workers KV namespace."},{"operationId":"get_cloudflare_kv_namespaces_by_namespace_values_by_key","method":"GET","href":"/v1/cloudflare/kv/namespaces/{namespace}/values/{key}","summary":"Read a Workers KV value as its stored bytes"},{"operationId":"put_cloudflare_kv_namespaces_by_namespace_values_by_key","method":"PUT","href":"/v1/cloudflare/kv/namespaces/{namespace}/values/{key}","summary":"Write a Workers KV value from the request body"},{"operationId":"get_cloudflare_pages_projects","method":"GET","href":"/v1/cloudflare/pages/projects","summary":"Lists the org's Cloudflare Pages projects."},{"operationId":"post_cloudflare_pages_projects","method":"POST","href":"/v1/cloudflare/pages/projects","summary":"Creates a Cloudflare Pages project on the org's account."},{"operationId":"delete_cloudflare_pages_projects_by_project","method":"DELETE","href":"/v1/cloudflare/pages/projects/{project}","summary":"Deletes a Cloudflare Pages project, and with it every deployment it has ever made."},{"operationId":"get_cloudflare_pages_projects_by_project","method":"GET","href":"/v1/cloudflare/pages/projects/{project}","summary":"Reads one Cloudflare Pages project — its build config, deployment configs and latest deployment."},{"operationId":"post_cloudflare_pages_projects_by_project_deployments","method":"POST","href":"/v1/cloudflare/pages/projects/{project}/deployments","summary":"Trigger a new Pages deployment for a project"},{"operationId":"post_cloudflare_pages_projects_by_project_domains","method":"POST","href":"/v1/cloudflare/pages/projects/{project}/domains","summary":"Attaches a custom domain to a Cloudflare Pages project."},{"operationId":"delete_cloudflare_pages_projects_by_project_domains_by_domain","method":"DELETE","href":"/v1/cloudflare/pages/projects/{project}/domains/{domain}","summary":"Detaches a custom domain from a Cloudflare Pages project."},{"operationId":"get_cloudflare_r2_buckets","method":"GET","href":"/v1/cloudflare/r2/buckets","summary":"Lists the R2 buckets on the org's Cloudflare account."},{"operationId":"post_cloudflare_r2_buckets","method":"POST","href":"/v1/cloudflare/r2/buckets","summary":"Creates an R2 bucket on the org's Cloudflare account."},{"operationId":"delete_cloudflare_r2_buckets_by_bucket","method":"DELETE","href":"/v1/cloudflare/r2/buckets/{bucket}","summary":"Deletes an R2 bucket."},{"operationId":"get_cloudflare_workers_scripts","method":"GET","href":"/v1/cloudflare/workers/scripts","summary":"Lists the Worker scripts on the org's Cloudflare account."},{"operationId":"delete_cloudflare_workers_scripts_by_script","method":"DELETE","href":"/v1/cloudflare/workers/scripts/{script}","summary":"Removes a Worker script from the org's Cloudflare account."},{"operationId":"put_cloudflare_workers_scripts_by_script","method":"PUT","href":"/v1/cloudflare/workers/scripts/{script}","summary":"Uploads or replaces a module Worker script."},{"operationId":"post_cloudflare_workers_scripts_by_script_subdomain","method":"POST","href":"/v1/cloudflare/workers/scripts/{script}/subdomain","summary":"Publishes or withdraws one Worker script on the account's workers.dev subdomain."},{"operationId":"get_cloudflare_workers_subdomain","method":"GET","href":"/v1/cloudflare/workers/subdomain","summary":"Reads the org account's workers.dev subdomain — the name under which every subdomain-enabled script is served."},{"operationId":"get_cloudflare_workers_zones_by_zone_routes","method":"GET","href":"/v1/cloudflare/workers/zones/{zone}/routes","summary":"Lists the Worker routes bound within one zone — the URL patterns that dispatch to a script."},{"operationId":"post_cloudflare_workers_zones_by_zone_routes","method":"POST","href":"/v1/cloudflare/workers/zones/{zone}/routes","summary":"Binds a URL pattern in a zone to a Worker script."},{"operationId":"delete_cloudflare_workers_zones_by_zone_routes_by_route","method":"DELETE","href":"/v1/cloudflare/workers/zones/{zone}/routes/{route}","summary":"Unbinds a Worker route, so its pattern stops dispatching to a script."},{"operationId":"get_cloudflare_zones","method":"GET","href":"/v1/cloudflare/zones","summary":"Lists the Cloudflare zones the org's connected API token can see, paged and filtered by the query parameters Cloudflare itself accepts."},{"operationId":"get_cloudflare_zones_by_zone","method":"GET","href":"/v1/cloudflare/zones/{zone}","summary":"Reads one Cloudflare zone the org's token can see."},{"operationId":"get_cloudflare_zones_by_zone_analytics","method":"GET","href":"/v1/cloudflare/zones/{zone}/analytics","summary":"Reads a zone's Cloudflare traffic dashboard — requests, bandwidth, threats and pageviews over the since/until window."},{"operationId":"post_cloudflare_zones_by_zone_purge","method":"POST","href":"/v1/cloudflare/zones/{zone}/purge","summary":"Drops a zone's Cloudflare edge cache — either the whole zone (purge_everything) or exactly the listed file URLs."}],"_links":{"describedby":{"href":"/v1/openapi.json?capability=cloudflare"},"self":{"href":"/v1/cloudflare"},"up":{"href":"/v1"}}}