public
Set

Get a Deployment Set

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

Request

  • Base URL
    https://api.humanitec.io
  • URL
    https://api.humanitec.io/orgs/{orgId}/apps/{appId}/sets/{setId}
  • Auth
    none declared

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"
    }
  }
}

Changes

    • warning

      removed the optional property //////// from the response with the status

    • warning

      removed the optional property /////// from the response with the status

    • breaking

      removed the required property ///// from the response with the status