{
  "opencollection": "1.0.0",
  "info": {
    "name": "APIs.io Engineering Platform Amazon API Gateway 2014 11 13 Worker Environment API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Worker Environment",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "APIs.io Engineering Platform Get script content",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/workers/services/:service_name/environments/:environment_name/content",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "service_name",
                "value": "",
                "type": "path"
              },
              {
                "name": "environment_name",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get script content from a worker with an environment"
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform Put script content",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/workers/services/:service_name/environments/:environment_name/content",
            "headers": [
              {
                "name": "CF-WORKER-BODY-PART",
                "value": ""
              },
              {
                "name": "CF-WORKER-MAIN-MODULE-PART",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "service_name",
                "value": "",
                "type": "path"
              },
              {
                "name": "environment_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 from a worker with an environment"
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform Get Script Settings",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/workers/services/:service_name/environments/:environment_name/settings",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "service_name",
                "value": "",
                "type": "path"
              },
              {
                "name": "environment_name",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get script settings from a worker with an environment"
        },
        {
          "info": {
            "name": "APIs.io Engineering Platform Patch Script Settings",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "http://apigateway.{region}.amazonaws.com/accounts/:account_id/workers/services/:service_name/environments/:environment_name/settings",
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "service_name",
                "value": "",
                "type": "path"
              },
              {
                "name": "environment_name",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Patch script metadata, such as bindings"
        }
      ]
    }
  ],
  "bundled": true
}