latestOpenAPI 3.0.02026-08-10221235717.8 KB

e21ad140ec3c

public
Set

Get a Deployment Set

get/orgs/{orgId}/apps/{appId}/sets/{setId}

Path parameters

orgIdstring required

The Organization ID

appIdstring required

The Application ID

setIdstring required

ID of the Deployment Set.

Query parameters

diffstring

ID of the Deployment Set to compared against.

Response

The Requested Deployment Set.

OR

Example response

{
  "modules": {
    "module-one": {
      "externals": {
        "db-one": {
          "params": {
            "extensions": {
              "uuid-ossp": {}
            }
          },
          "type": "postgres"
        }
      },
      "profile": "humanitec/default-module",
      "spec": {
        "containers": {
          "core-service": {
            "id": "core-service",
            "image": "registry.humanitec.io/my-org/core-service:VERSION_ONE",
            "readiness_probe": {
              "path": "/healtz",
              "port": 8080,
              "type": "http"
            },
            "variables": {
              "DBHOST": "${externals.db-one.name}",
              "DBNAME": "${externals.db-one.name}",
              "DBPASSWORD": "${externals.db-one.password}",
              "DBUSERNAME": "${externals.db-one.username}",
              "REDIS_URL": "redis://${modules.redis-cache.service.name}"
            }
          }
        }
      }
    },
    "redis-cache": {
      "profile": "humanitec/redis"
    }
  }
}