{
  "opencollection": "1.0.0",
  "info": {
    "name": "Quix Cloud HTTP APIs Definitions Deployments API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Deployments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List deployments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://writer-{environmentId}.cloud.quix.io/deployments",
            "params": [
              {
                "name": "workspaceId",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Returns the service deployments in a workspace. (Portal API.) The workspace is typically supplied as a `workspaceId` query parameter."
        },
        {
          "info": {
            "name": "Create a deployment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://writer-{environmentId}.cloud.quix.io/deployments",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Creates a service or job deployment from a project/application in a workspace. (Portal API.)"
        },
        {
          "info": {
            "name": "Get a deployment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://writer-{environmentId}.cloud.quix.io/deployments/:deploymentId",
            "params": [
              {
                "name": "deploymentId",
                "value": "",
                "type": "path",
                "description": "The deployment identifier."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Returns details and status for a single deployment. (Portal API.)"
        },
        {
          "info": {
            "name": "Start a deployment",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://writer-{environmentId}.cloud.quix.io/deployments/:deploymentId/start",
            "params": [
              {
                "name": "deploymentId",
                "value": "",
                "type": "path",
                "description": "The deployment identifier."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Starts a stopped deployment. (Portal API.)"
        },
        {
          "info": {
            "name": "Stop a deployment",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://writer-{environmentId}.cloud.quix.io/deployments/:deploymentId/stop",
            "params": [
              {
                "name": "deploymentId",
                "value": "",
                "type": "path",
                "description": "The deployment identifier."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Stops a running deployment. (Portal API.)"
        }
      ]
    }
  ],
  "bundled": true
}