{
  "opencollection": "1.0.0",
  "info": {
    "name": "Cloudflare / Accounts Scripts API",
    "version": "4.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Scripts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Cloudflare List Worker Scripts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/workers/scripts",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the Cloudflare account."
              }
            ]
          },
          "docs": "Retrieve a list of all Worker scripts for the account."
        },
        {
          "info": {
            "name": "Cloudflare Download Worker Script",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/workers/scripts/:script_name",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the Cloudflare account."
              },
              {
                "name": "script_name",
                "value": "",
                "type": "path",
                "description": "The name of the Worker script."
              }
            ]
          },
          "docs": "Download a Worker script by name. Returns the script content."
        },
        {
          "info": {
            "name": "Cloudflare Upload Worker Script",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/workers/scripts/:script_name",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the Cloudflare account."
              },
              {
                "name": "script_name",
                "value": "",
                "type": "path",
                "description": "The name of the Worker script."
              }
            ]
          },
          "docs": "Upload or update a Worker script by name using multipart form data or JSON with base64-encoded content."
        },
        {
          "info": {
            "name": "Cloudflare Delete Worker Script",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.cloudflare.com/client/v4/accounts/:account_id/workers/scripts/:script_name",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the Cloudflare account."
              },
              {
                "name": "script_name",
                "value": "",
                "type": "path",
                "description": "The name of the Worker script."
              }
            ]
          },
          "docs": "Delete a Worker script by name."
        }
      ]
    }
  ],
  "bundled": true
}