public
Delta

Create a new Delta

Changed on
post/orgs/{orgId}/apps/{appId}/deltas

Request

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

Path parameters

orgIdstring required

The Organization ID

appIdstring required

The Application ID

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

The requested Deployment Delta.

string required
OR

Example response

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

Changes

    • warning

      removed the request property ////

    • warning

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

    • breaking

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

    • warning

      removed the request property /