public
Set

Apply a Deployment Delta to a Deployment Set

Changed on
post/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.

Request body

idstring

Ignored, but can be provided.

Example request

{
  "id": "49393b5004d072000b8abfd910c61685eb9235f5",
  "metadata": {},
  "modules": {
    "add": {
      "redis-cache": {
        "profile": "humanitec/redis"
      }
    },
    "remove": [
      "simple-service"
    ],
    "update": {
      "module-one": [
        {
          "op": "replace",
          "path": "/spec/containers/core-service/variables/EXAMPLE",
          "value": "New Value"
        }
      ]
    }
  }
}

Response

A Deployment Delta which if applied to the Set with ID sourceSetId gives the Set with ID setId.

string required

Changes