{
  "opencollection": "1.0.0",
  "info": {
    "name": "env0 API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Users",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get current user's VCS provider account mappings",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.env0.com/users/me/vcs-provider-user-mappings"
          },
          "docs": "Get current user's VCS provider account mappings"
        }
      ]
    },
    {
      "info": {
        "name": "Organizations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List organizations the user belongs to",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.env0.com/organizations"
          },
          "docs": "List organizations the user belongs to"
        }
      ]
    },
    {
      "info": {
        "name": "Projects",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List projects in an organization",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.env0.com/projects",
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List projects in an organization"
        },
        {
          "info": {
            "name": "Create a new project",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.env0.com/projects",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new project"
        },
        {
          "info": {
            "name": "Get a project",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.env0.com/projects/:projectId",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a project"
        },
        {
          "info": {
            "name": "Update a project",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.env0.com/projects/:projectId",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a project"
        },
        {
          "info": {
            "name": "Delete a project",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.env0.com/projects/:projectId",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a project"
        }
      ]
    },
    {
      "info": {
        "name": "Environments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List environments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.env0.com/environments",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List environments"
        },
        {
          "info": {
            "name": "Create an environment and trigger deployment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.env0.com/environments",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create an environment and trigger deployment"
        },
        {
          "info": {
            "name": "Get an environment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.env0.com/environments/:environmentId",
            "params": [
              {
                "name": "environmentId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get an environment"
        },
        {
          "info": {
            "name": "Destroy and delete an environment",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.env0.com/environments/:environmentId",
            "params": [
              {
                "name": "environmentId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Destroy and delete an environment"
        }
      ]
    },
    {
      "info": {
        "name": "Deployments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Trigger a deployment on an environment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.env0.com/environments/:environmentId/deployments",
            "params": [
              {
                "name": "environmentId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Trigger a deployment on an environment"
        },
        {
          "info": {
            "name": "Get a deployment log",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.env0.com/environments/:environmentId/deployments/:deploymentId",
            "params": [
              {
                "name": "environmentId",
                "value": "",
                "type": "path"
              },
              {
                "name": "deploymentId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a deployment log"
        }
      ]
    },
    {
      "info": {
        "name": "Templates",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List IaC templates",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.env0.com/templates",
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List IaC templates"
        },
        {
          "info": {
            "name": "Create a new template",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.env0.com/templates",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new template"
        }
      ]
    },
    {
      "info": {
        "name": "Modules",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List private modules",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.env0.com/modules"
          },
          "docs": "List private modules"
        }
      ]
    },
    {
      "info": {
        "name": "Agents",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List self-hosted agents",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.env0.com/agents"
          },
          "docs": "List self-hosted agents"
        }
      ]
    },
    {
      "info": {
        "name": "Configuration",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List configuration variables",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.env0.com/configuration",
            "params": [
              {
                "name": "organizationId",
                "value": "",
                "type": "query"
              },
              {
                "name": "projectId",
                "value": "",
                "type": "query"
              },
              {
                "name": "environmentId",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List configuration variables"
        },
        {
          "info": {
            "name": "Create or update a configuration variable",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.env0.com/configuration",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create or update a configuration variable"
        }
      ]
    },
    {
      "info": {
        "name": "ApprovalPolicies",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List approval policies",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.env0.com/approval-policies"
          },
          "docs": "List approval policies"
        }
      ]
    },
    {
      "info": {
        "name": "Webhooks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List webhook subscriptions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.env0.com/webhooks"
          },
          "docs": "List webhook subscriptions"
        }
      ]
    }
  ],
  "bundled": true
}