{
  "opencollection": "1.0.0",
  "info": {
    "name": "Cloudflare / Accounts Import/Export API",
    "version": "4.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Import/Export",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Cloudflare Export D1 Database",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/d1/database/:database_id/export",
            "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": "Export the database contents as SQL. Returns a URL for downloading the SQL dump."
        },
        {
          "info": {
            "name": "Cloudflare Import Sql Into D1 Database",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/d1/database/:database_id/import",
            "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": "Import SQL into the database. Returns a temporary upload URL and import status."
        }
      ]
    }
  ],
  "bundled": true
}