Composition_update

Update existing composition. The server will save the new composition props and refresh all the entities belonging to the composition

SecuritybearerAuth
Request
path Parameters
compositionId
required
string

The composition id

Request Body schema: application/json
name
required
string

The composition name

projectId
required
string

The project where the composition should be install the entities

Array of objects (ICompositionTrigger)

An array of triggers

Array of objects (ICompositionPackage)

An array of packages

Array of objects (ICompositionTask)

An array of tasks

required
Array of objects (APIServiceCompositionElement)

An array of services

Array of objects (ICompositionChannel)

Array of channels details

driverId
required
string

The user cluster driver id - defining the compute cluster the server should connect to

Responses
200

Ok

patch/compositions/{compositionId}
Request samples
application/json
{
  • "name": "string",
  • "projectId": "string",
  • "triggers": [
    ],
  • "packages": [
    ],
  • "tasks": [
    ],
  • "spec": [
    ],
  • "channels": [
    ],
  • "driverId": "string"
}
Response samples
application/json
{
  • "id": "string",
  • "url": "string",
  • "name": "string",
  • "creator": "string",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "projectId": "string",
  • "orgId": "string",
  • "spec": [
    ],
  • "status": "Created",
  • "terminated": true,
  • "errorText": { },
  • "triggers": [
    ],
  • "packages": [
    ],
  • "tasks": [
    ],
  • "models": [
    ],
  • "channels": [
    ],
  • "secrets": [
    ]
}