Composition_create

Create a new Composition. Supply the entities in the body request to create a Composition.

SecuritybearerAuth
Request
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

post/compositions
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": [
    ]
}