{
  "opencollection": "1.0.0",
  "info": {
    "name": "APIs.io Engineering Platform Amazon API Gateway 2014 11 13 Worker Versions API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Worker Versions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "APIs.io Engineering Platform List Versions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/workers/scripts/:script_name/versions",
            "params": [
              {
                "name": "script_name",
                "value": "",
                "type": "path"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "deployable",
                "value": "",
                "type": "query",
                "description": "Only return versions that can be used in a deployment. Ignores pagination."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Current page."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "Items per-page."
              }
            ]
          },
          "docs": "List of Worker Versions. The first version in the list is the latest version."
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform Upload Version",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/workers/scripts/:script_name/versions",
            "params": [
              {
                "name": "script_name",
                "value": "",
                "type": "path"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "<any part name>",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "metadata",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Upload a Worker Version without deploying to Cloudflare's network. 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 Get Version Detail",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/workers/scripts/:script_name/versions/:version_id",
            "params": [
              {
                "name": "version_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "script_name",
                "value": "",
                "type": "path"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "APIs.io Engineering Platform Get Version Detail"
        }
      ]
    }
  ],
  "bundled": true
}