{
  "opencollection": "1.0.0",
  "info": {
    "name": "APIs.io Engineering Platform Amazon API Gateway 2014 11 13 Workers for Platforms API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Workers for Platforms",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "APIs.io Engineering Platform List dispatch namespaces",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/workers/dispatch/namespaces",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Fetch a list of Workers for Platforms namespaces."
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform Create dispatch namespace",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/workers/dispatch/namespaces",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new Workers for Platforms namespace."
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform Get dispatch namespace",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/workers/dispatch/namespaces/:dispatch_namespace",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "dispatch_namespace",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a Workers for Platforms namespace."
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform Delete dispatch namespace",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/workers/dispatch/namespaces/:dispatch_namespace",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "dispatch_namespace",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a Workers for Platforms namespace."
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform Worker Details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/workers/dispatch/namespaces/:dispatch_namespace/scripts/:script_name",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "dispatch_namespace",
                "value": "",
                "type": "path"
              },
              {
                "name": "script_name",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Fetch information about a script uploaded to a Workers for Platforms namespace."
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform Upload Worker Module",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/workers/dispatch/namespaces/:dispatch_namespace/scripts/:script_name",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "dispatch_namespace",
                "value": "",
                "type": "path"
              },
              {
                "name": "script_name",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": []
            }
          },
          "docs": "Upload a worker module to a Workers for Platforms namespace. You can find more about the multipart metadata on our docs: https://developers.cloudflare.com/workers/configuration/multipart-upload-metadata/."
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform Delete Worker",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/workers/dispatch/namespaces/:dispatch_namespace/scripts/:script_name",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "dispatch_namespace",
                "value": "",
                "type": "path"
              },
              {
                "name": "script_name",
                "value": "",
                "type": "path"
              },
              {
                "name": "force",
                "value": "",
                "type": "query",
                "description": "If set to true, delete will not be stopped by associated service binding, durable object, or other binding. Any of these associated bindings/durable objects will be deleted along with the script."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Delete a worker from a Workers for Platforms namespace. This call has no response body on a successful delete."
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform Get Script Bindings",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/workers/dispatch/namespaces/:dispatch_namespace/scripts/:script_name/bindings",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "dispatch_namespace",
                "value": "",
                "type": "path"
              },
              {
                "name": "script_name",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Fetch script bindings from a script uploaded to a Workers for Platforms namespace."
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform Get Script Content",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/workers/dispatch/namespaces/:dispatch_namespace/scripts/:script_name/content",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "dispatch_namespace",
                "value": "",
                "type": "path"
              },
              {
                "name": "script_name",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Fetch script content from a script uploaded to a Workers for Platforms namespace."
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform Put Script Content",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/workers/dispatch/namespaces/:dispatch_namespace/scripts/:script_name/content",
            "headers": [
              {
                "name": "CF-WORKER-BODY-PART",
                "value": ""
              },
              {
                "name": "CF-WORKER-MAIN-MODULE-PART",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "dispatch_namespace",
                "value": "",
                "type": "path"
              },
              {
                "name": "script_name",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "<any part name>",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "metadata",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Put script content for a script uploaded to a Workers for Platforms namespace."
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform List Script Secrets",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/workers/dispatch/namespaces/:dispatch_namespace/scripts/:script_name/secrets",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "dispatch_namespace",
                "value": "",
                "type": "path"
              },
              {
                "name": "script_name",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List secrets from a script uploaded to a Workers for Platforms namespace."
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform Put Script Secrets",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/workers/dispatch/namespaces/:dispatch_namespace/scripts/:script_name/secrets",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "dispatch_namespace",
                "value": "",
                "type": "path"
              },
              {
                "name": "script_name",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Put secrets to a script uploaded to a Workers for Platforms namespace."
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform Get Script Secret",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/workers/dispatch/namespaces/:dispatch_namespace/scripts/:script_name/secrets/:secret_name",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "dispatch_namespace",
                "value": "",
                "type": "path"
              },
              {
                "name": "script_name",
                "value": "",
                "type": "path"
              },
              {
                "name": "secret_name",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get secret from a script uploaded to a Workers for Platforms namespace."
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform Get Script Settings",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/workers/dispatch/namespaces/:dispatch_namespace/scripts/:script_name/settings",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "dispatch_namespace",
                "value": "",
                "type": "path"
              },
              {
                "name": "script_name",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get script settings from a script uploaded to a Workers for Platforms namespace."
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform Patch Script Settings",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/workers/dispatch/namespaces/:dispatch_namespace/scripts/:script_name/settings",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "dispatch_namespace",
                "value": "",
                "type": "path"
              },
              {
                "name": "script_name",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "settings",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Patch script metadata, such as bindings"
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform Get Script Tags",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/workers/dispatch/namespaces/:dispatch_namespace/scripts/:script_name/tags",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "dispatch_namespace",
                "value": "",
                "type": "path"
              },
              {
                "name": "script_name",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Fetch tags from a script uploaded to a Workers for Platforms namespace."
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform Put Script Tags",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/workers/dispatch/namespaces/:dispatch_namespace/scripts/:script_name/tags",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "dispatch_namespace",
                "value": "",
                "type": "path"
              },
              {
                "name": "script_name",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Put script tags for a script uploaded to a Workers for Platforms namespace."
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform Put Script Tag",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/workers/dispatch/namespaces/:dispatch_namespace/scripts/:script_name/tags/:tag",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "dispatch_namespace",
                "value": "",
                "type": "path"
              },
              {
                "name": "script_name",
                "value": "",
                "type": "path"
              },
              {
                "name": "tag",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Put a single tag on a script uploaded to a Workers for Platforms namespace."
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform Delete Script Tag",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/workers/dispatch/namespaces/:dispatch_namespace/scripts/:script_name/tags/:tag",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "dispatch_namespace",
                "value": "",
                "type": "path"
              },
              {
                "name": "script_name",
                "value": "",
                "type": "path"
              },
              {
                "name": "tag",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete script tag for a script uploaded to a Workers for Platforms namespace."
        }
      ]
    }
  ],
  "bundled": true
}