{
  "opencollection": "1.0.0",
  "info": {
    "name": "Tower Accounts Environments API",
    "version": "v0.11.16"
  },
  "items": [
    {
      "info": {
        "name": "Environments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List environments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tower.dev/v1/environments",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "The page number to fetch."
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "The number of records to fetch on each page."
              }
            ]
          },
          "docs": "List all environments in your account."
        },
        {
          "info": {
            "name": "Create environment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.tower.dev/v1/environments",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new environment for an app."
        },
        {
          "info": {
            "name": "Describe environment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.tower.dev/v1/environments/:name",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the environment."
              }
            ]
          },
          "docs": "Describe an environment and counts of its resources"
        },
        {
          "info": {
            "name": "Update environment",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.tower.dev/v1/environments/:name",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The current name of the environment to update."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Rename your environment"
        },
        {
          "info": {
            "name": "Delete environment",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.tower.dev/v1/environments/:name",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the environment to delete."
              }
            ]
          },
          "docs": "Delete an environment by name"
        }
      ]
    }
  ],
  "bundled": true
}