{
  "opencollection": "1.0.0",
  "info": {
    "name": "Qovery Account Info Environments API",
    "version": "1.0.4"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Environments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List environments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.qovery.com/project/:projectId/environment",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "Project ID"
              }
            ]
          },
          "docs": "List environments"
        },
        {
          "info": {
            "name": "Create an environment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.qovery.com/project/:projectId/environment",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "Project ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create an environment"
        },
        {
          "info": {
            "name": "List environments statuses",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.qovery.com/project/:projectId/environment/status",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "Project ID"
              }
            ]
          },
          "docs": "Returns a list of environments with only their id and status."
        },
        {
          "info": {
            "name": "List total number of services for each environment of the project",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.qovery.com/project/:projectId/environment/stats",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "Project ID"
              }
            ]
          },
          "docs": "Returns a list of environment ids, and for each its total numberof services"
        },
        {
          "info": {
            "name": "List environments overview",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.qovery.com/project/:projectId/environment/overview",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "Project ID"
              }
            ]
          },
          "docs": "Returns a list of environments with their overview information including deployment status, service count, and cluster details."
        }
      ]
    }
  ],
  "bundled": true
}