{
  "opencollection": "1.0.0",
  "info": {
    "name": "Cloudflare / Accounts Databases API",
    "version": "4.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Databases",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Cloudflare List D1 Databases",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/d1/database",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the Cloudflare account."
              },
              {
                "name": "page",
                "value": "10",
                "type": "query",
                "description": "Page number of results."
              },
              {
                "name": "per_page",
                "value": "10",
                "type": "query",
                "description": "Number of results per page."
              },
              {
                "name": "name",
                "value": "Example Title",
                "type": "query",
                "description": "Filter databases by name."
              }
            ]
          },
          "docs": "Returns a paginated list of all D1 databases for the account."
        },
        {
          "info": {
            "name": "Cloudflare Create D1 Database",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/d1/database",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the Cloudflare account."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new D1 serverless SQL database."
        },
        {
          "info": {
            "name": "Cloudflare Get D1 Database",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/d1/database/:database_id",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the Cloudflare account."
              },
              {
                "name": "database_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the D1 database."
              }
            ]
          },
          "docs": "Retrieve details of a specific D1 database."
        },
        {
          "info": {
            "name": "Cloudflare Update D1 Database",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/d1/database/:database_id",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the Cloudflare account."
              },
              {
                "name": "database_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the D1 database."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a D1 database configuration."
        },
        {
          "info": {
            "name": "Cloudflare Delete D1 Database",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/d1/database/:database_id",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the Cloudflare account."
              },
              {
                "name": "database_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the D1 database."
              }
            ]
          },
          "docs": "Delete a D1 database and all its contents."
        }
      ]
    }
  ],
  "bundled": true
}