Orchestration

Manage your Artifacts, Tasks, Plans, Schedules, Environments, Workspaces, Promotions and all associated Ressources

Endpoints

Global security

These security schemes apply to the entire API

Security scheme

This scheme can be referenced across the API

Public
This Bearer authentication can be set in the Authorization header of your requests. Authentication tokens and Personal Access Tokens are supported. Personal Access Tokens can be generated in the Profile Preferences page of the Talend Cloud Portal.
Bearer authentication
NameDescription

Artifacts

Artifact

Object
NameDescriptionTypeAttributes and examples
idArtifact identifierstring Required
nameArtifact namestring Required
typeArtifact typestring Required
versionsarray of string Required
Datatype details
TypeDescriptionAttributes and examples
arrayAvailable artifact versions
string
workspaceWorkspaceInfo Required

ArtifactParameter

Object
NameDescriptionTypeAttributes and examples
nameParameter namestring Required
valueParameter valuestring Optional
typeParameter valuestring Required
requiredIs parameter required or notboolean Required
commentComment about parameterstring Optional

ArtifactRequest

Object
NameDescriptionTypeAttributes and examples
idId of artifactstring Required
versionArtifact versionstring Required
ArtifactRequest
{
  "id": "5c1111d7a4186a4eafed0587",
  "version": "0.1.0"
}

ArtifactVersion

Object
NameDescriptionTypeAttributes and examples
idId of artifactstring Required
nameName of artifactstring Optional
versionArtifact versionstring Required
typeArtifact typestring Required
publisherArtifact publisherstring Required
marketplaceProductMarketplace productstring Required
parametersarray of ArtifactParameter Required
Datatype details
TypeDescriptionAttributes and examples
arrayArtifact parameters
ArtifactParameter
workspaceWorkspaceInfo Required
descriptionArtifact descriptionstring Optional
createDateArtifact date of creationdatetime Required
RFC3339
repositorySourcesRepositoryData Optional
publisherTypeArtifact publisher typestring Required

PageArtifact

Object
NameDescriptionTypeAttributes and examples
itemsarray of Artifact Optional
Datatype details
TypeDescriptionAttributes and examples
array
Artifact
limitinteger Optional
INT32
offsetinteger Optional
INT32
totalinteger Optional
INT32

Get available Artifacts

GET /orchestration/artifacts
Get available Artifacts

Request

Query parameters
NameDescriptionTypeAttributes and examples
environmentIdenvironment idstring Optional
offsetthe position of the first item. Must be greater than or equal to 0. Default value - 0integer Optional
INT32
workspaceIdworkspace idstring Optional
nameartifact name filterstring Optional
limitthe number of items to return. Must be in range [1, 100]. Default value - 100integer Optional
INT32
typesarray of string Optional
Datatype details
TypeDescriptionAttributes and examples
arrayartifact types, can use multiple values
string

Response

200Status 200
Successful response
Body
PageArtifact
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden - no permissions to access resource
Body
ErrorResponse
404Status 404
Not found - resource not found
Body
ErrorResponse
500Status 500
Server error - something went wrong on server side
Body
ErrorResponse

Delete Artifact by id

DELETE /orchestration/artifacts/{artifactId}
Delete Artifact by id

Request

Path variables
NameDescriptionTypeAttributes and examples
artifactIdstring Required

Response

204Status 204
No content
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
409Status 409
Conflict
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Get Artifact by id

GET /orchestration/artifacts/{artifactId}
Get Artifact by id

Request

Path variables
NameDescriptionTypeAttributes and examples
artifactIdstring Required

Response

200Status 200
OK
Body
Artifact
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Get Artifact of a specified version

GET /orchestration/artifacts/{artifactId}/versions/{version}
Get Artifact of a specified version

Request

Path variables
NameDescriptionTypeAttributes and examples
artifactIdstring Required
versionstring Required

Response

200Status 200
OK
Body
ArtifactVersion
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Delete Artifact of a specified version

DELETE /orchestration/artifacts/{artifactId}/versions/{version}
Delete Artifact of a specified version

Request

Path variables
NameDescriptionTypeAttributes and examples
artifactIdstring Required
versionstring Required

Response

204Status 204
No content
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
409Status 409
Conflict
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Get archive metadata of an artifact for a specified version

POST /orchestration/artifacts/{artifactId}/versions/{version}/archive
Get archive metadata of an artifact for a specified version

Request

Path variables
NameDescriptionTypeAttributes and examples
artifactIdstring Required
versionstring Required

Response

200Status 200
Body
ArtifactArchive
400Status 400
Body
ErrorResponse
403Status 403
Body
ErrorResponse
404Status 404
Body
ErrorResponse
500Status 500
Body
ErrorResponse

ArtifactArchive

Object
NameDescriptionTypeAttributes and examples
presignedUrlTemporary presigned URL to download the archivestring Required
metadataMetadata of the artifactArtifactMetadata Required
iconIcon binaries for the artifact, encoded in Base64string Optional
screenshotScreenshot binaries for the artifact, encoded in Base64string Optional
expiresAtExpiration timestamp of the presigned urlnumber Optional

ArtifactMetadata

Object
NameDescriptionTypeAttributes and examples
idId of the artifactstring Required
nameName of the artifactstring Optional
versionVersion of the artifactstring Optional
groupIdGroup idstring Optional
studioVersionStudio version used to publishstring Optional
marketplaceProductA product of market placestring Required
jobTypeJob typestring Required
artifactTypeArtifact typestring Optional
originstring Optional
configarray of ArtifactItemModel Required
Datatype details
TypeDescriptionAttributes and examples
array
ArtifactItemModel
contextsObjectOptional
titleTitlestring Optional
repositoryRepository infoSourcesRepositoryData Optional
applicationarray of string Optional
Datatype details
TypeDescriptionAttributes and examples
arrayA list filled with application String
string
metadataA map : key=String; value=ListObjectOptional
pathRequest Pathstring Optional
iconAn iconstring Optional
descriptionDescriptionstring Optional
javaArtifact Java infoJavaInfo Optional
serviceTypeService typestring Optional
additionalPropertiesObjectOptional

JavaInfo

Object
NameDescriptionTypeAttributes and examples
complianceJava versionstring Optional
addOpensboolean Optional

ArtifactItemModel

Object
NameDescriptionTypeAttributes and examples
nameNamestring Required
valueValuestring Required
descriptionDescriptionstring Optional
requiredIf required or notboolean Optional
typeJava typestring Optional

ArtifactContext

Object
NameDescriptionTypeAttributes and examples
defaultboolean Optional
parametersarray of ArtifactParameter Optional
Datatype details
TypeDescriptionAttributes and examples
array
ArtifactParameter

Connections

UpdateConnectionRequest

Object
NameDescriptionTypeAttributes and examples
nameConnection namestring Optional
parametersarray of ConnectionParameter Optional
Datatype details
TypeDescriptionAttributes and examples
arrayConnection parameters
ConnectionParameter

CreateConnectionRequest

Object
NameDescriptionTypeAttributes and examples
nameConnection namestring Required
workspaceIdWorkspace IDstring Required
appApplication namestring Required
parametersarray of ConnectionParameter Required
Datatype details
TypeDescriptionAttributes and examples
arrayConnection parameters
ConnectionParameter

ConnectionParameter

Object
NameDescriptionTypeAttributes and examples
nameParameter namestring Required
valueParameter valuestring Optional
encryptedIf encrypted or notboolean Optional

ConnectionDetails

Object
NameDescriptionTypeAttributes and examples
idConnection IDstring Required
nameConnection namestring Required
appApplication namestring Required
parametersarray of ConnectionParameter Required
Datatype details
TypeDescriptionAttributes and examples
arrayConnection parameters
ConnectionParameter
workspaceWorkspaceInfo Required
createDateCreation Date of Connectiondatetime Required
RFC3339
updateDateUpdate Date of Connectiondatetime Optional
RFC3339

PageConnection

Object
NameDescriptionTypeAttributes and examples
itemsarray of ConnectionDetails Optional
Datatype details
TypeDescriptionAttributes and examples
array
ConnectionDetails
limitinteger Optional
INT32
offsetinteger Optional
INT32
totalinteger Optional
INT32

Create a Connection

POST /orchestration/connections

Request

Body
CreateConnectionRequest

Response

200Status 200
successful operation
Body
ConnectionDetails
201Status 201
Created successfully
Body
ConnectionDetails
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
409Status 409
Connection name already exists
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Get available Connections

GET /orchestration/connections

Request

Query parameters
NameDescriptionTypeAttributes and examples
offsetinteger Optional
INT32
namestring Optional
limitinteger Optional
100
INT32
environmentIdConnection environment id filterstring Optional
workspaceIdConnection workspace id filterstring Optional

Response

200Status 200
OK
Body
PageConnection
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Update a Connection

PUT /orchestration/connections/{connectionId}

Request

Path variables
NameDescriptionTypeAttributes and examples
connectionIdstring Required
Body
UpdateConnectionRequest

Response

200Status 200
Updated
Body
ConnectionDetails
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
409Status 409
Connection name already exists
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Delete a Connection

DELETE /orchestration/connections/{connectionId}

Request

Path variables
NameDescriptionTypeAttributes and examples
connectionIdstring Required

Response

204Status 204
No Content
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
409Status 409
Connection is in use
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Get a Connection details

GET /orchestration/connections/{connectionId}

Request

Path variables
NameDescriptionTypeAttributes and examples
connectionIdstring Required

Response

200Status 200
OK
Body
ConnectionDetails
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Move a Connection

PUT /orchestration/connections/{connectionId}/move/{targetWorkspaceId}
Move a connection to another workspace. The target workspace must be in the same environment as the original one.

Request

Path variables
NameDescriptionTypeAttributes and examples
connectionIdstring Required
targetWorkspaceIdstring Required

Response

200Status 200
Moved
Body
ConnectionDetails
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
409Status 409
Connection name already exists
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Environments

EnvironmentInfo

An Environment is some uniquely named space allowing you to organize your workspaces and subsidiary jobs definition within the cloud platform. Everything in TMC is related to an Environment : engines, workspaces, artifacts, tasks, plans, etc. Default preconisation is to define Environments according to your Software Process life cycle, for instance Development, QA, Pre-Production, Production. Workspace entity will allow you to organize your work within this Environment, according to your Business organization and security isolation rules. Of course, you can already choose to define Environments as subparts of your IT, for instance ‘Production - Supply Chain’, and choose the right grain of organization. Using Promotions, you would be able afterwards to define detailed rules for your software to be promoted across your Environments.
Object
NameDescriptionTypeAttributes and examples
idUnique identifier of the Environmentstring Required
nameFunctional name of the Environmentstring Required
descriptionstring Optional
maxCloudContainersmaximum number of cloud enginesinteger Optional
INT32
defaultboolean Optional

Create Environment

POST /orchestration/environments

Create an Environment.

Requirements:

  • environment name must be unique
  • the user account issuing the request must be granted the ENVIRONMENT_MANAGEMENT permission

Environment is created on platform. A CUSTOM workspace is automatically created within this environment with proper ownership permissions assigned onto it.

Upon your request, Cloud Engine could also be assigned to the newly added environment.

Request

Body
Object
NameDescriptionTypeAttributes and examples
nameUnique name for the environment to createstring Required
descriptionstring Optional
maxCloudContainersNumber of Cloud Engines to assign to this Environmentinteger Optional
INT32
workspaceNameName for the custom workspace created along with the Environmentstring Required
ownerLogin name of user to be owner of the custom workspace created along with the Environmentstring Optional

Response

201Status 201
Environment has been created
Body
EnvironmentInfo
400Status 400
Name provided is faulty
Body
ErrorResponse
401Status 401
User has not the right credentials for completing creation
Body
ErrorResponse
403Status 403
Forbidden - no permissions to access resource
Body
ErrorResponse
409Status 409
environment name should be unique
Body
ErrorResponse
500Status 500
Server error - something went wrong on server side
Body
ErrorResponse

List Environments

GET /orchestration/environments

Retrieve all the environments according to filters.

If the user is entitled with CLUSTER_MANAGEMENT or ENVIRONMENT_MANAGEMENT role, all environments matching query will be returned.

If the user is entitled with OPERATOR role, environments matching query and the user workspace permissions will be returned.

Request

Query parameters
NameDescriptionTypeAttributes and examples
querysearch query (FIQL format), e.g. name==Dev*;description==*environment*string Optional

Response

200Status 200
List of candidate environments provided
Body
details
NameDescriptionTypeAttributes and examples
array of EnvironmentInfo
Datatype details
TypeDescriptionAttributes and examples
array
EnvironmentInfo
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden - no permissions to access resource
Body
ErrorResponse
500Status 500
Server error - something went wrong on server side
Body
ErrorResponse

Update Environment

PUT /orchestration/environments/{Id}
Update the identified Environment. Make sure the user is entitled with ENVIRONMENT_MANAGEMENT role.

Request

Path variables
NameDescriptionTypeAttributes and examples
Idstring Required
Body
Object
NameDescriptionTypeAttributes and examples
namestring Required
descriptionstring Optional
maxCloudContainersinteger Optional
INT32

Response

204Status 204
Environment removed
400Status 400
Body
ErrorResponse
401Status 401
User has not the required credentials
Body
ErrorResponse
403Status 403
Insufficient permissions
Body
ErrorResponse
404Status 404
Environment is not present
Body
ErrorResponse
409Status 409
Environment name should be unique
Body
ErrorResponse
500Status 500
Server error - something went wrong on server side
Body
ErrorResponse

Remove Environment

DELETE /orchestration/environments/{Id}
Delete the specified environment. Before deleting the environment, you must delete all spaces belonging to it. Ensure that the user has the ENVIRONMENT_MANAGEMENT role. Confirm the environment removal before calling this endpoint. Removing the environment also removes subsidiary elements, including engines and promotions.

Request

Path variables
NameDescriptionTypeAttributes and examples
Idstring Required

Response

204Status 204
Environment removed
400Status 400
“To delete the environment, you must first delete all its spaces.”
Body
ErrorResponse
401Status 401
User has not the required credentials
Body
ErrorResponse
403Status 403
Environment is still in use, it shall not be removed
Body
ErrorResponse
404Status 404
Environment is not present
Body
ErrorResponse
500Status 500
Server error - something went wrong on server side
Body
ErrorResponse

Workspaces

Workspace

Object
NameDescriptionTypeAttributes and examples
idWorkspace identifierstring Required
nameWorkspace namestring Required
descriptionWorkspace descriptionstring Optional
createDateDate of creation of the workspacedatetime Required
RFC3339
updateDateDate of update of the workspacedatetime Required
RFC3339
ownerOwner of the workspacestring Optional
ownerFullNameFull name of the workspace ownerstring Required
typeWorkspace typestring Required
environmentIdEnvironment id of the workspacestring Required

WorkspaceInfo

Object
NameDescriptionTypeAttributes and examples
idWorkspace identifierstring Optional
nameWorkspace namestring Optional
descriptionWorkspace descriptionstring Optional
ownerWorkspace ownerstring Optional
typeWorkspace typestring Optional
environmentEnvironmentInfo Optional
protectedArtifactUpdate

Allows to restrict the scope of task updates when a new artifact version is published. 

  • true : the tasks of this workspace are protected from the unintended updates triggered by artifacts being published in other workspaces. These tasks are updated only when artifacts are being published in the same workspace
  • false : tasks that have been set to use the latest version of the published artifact, or any other artifact that has the same name as the newly published artifact, are all updated, whatever workspace is used for this artifact publishing
boolean Optional

CreateWorkspaceRequest

Object
NameDescriptionTypeAttributes and examples
nameName of the workspace to be createdstring Required
descriptionFunctional description of your workspacestring Optional
ownerLogin name of the owner of the workspacestring Optional
environmentIdEnvironment this workspace will belong tostring Required

Create Workspace

POST /orchestration/workspaces

Create a Workspace.

Please ensure the following requirements are met :

  • provide environment this workspace will belong to
  • provide some unique naming within environment
  • user must be granted ENVIRONMENT_MANAGEMENT permission

Owner can be provided. By default, creator user would be owner. Type is Custom.

Request

Body
CreateWorkspaceRequest

Response

201Status 201
Successful response
Body
Workspace
Status 201 application/json
"Personal"
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden - no permissions to access resource
Body
ErrorResponse
409Status 409
Conflict
Body
ErrorResponse
500Status 500
Server error - something went wrong on server side
Body
ErrorResponse

List Workspaces

GET /orchestration/workspaces

Retrieve all the workspaces according to filters.

If the user is entitled with CLUSTER_MANAGEMENT or ENVIRONMENT_MANAGEMENT role, all workspaces matching query will be returned.

If the user is entitled with OPERATOR role, workspaces matching query and the workspace permissions will be returned.

Request

Query parameters
NameDescriptionTypeAttributes and examples
queryThis parameter defines a search query in FIQL format. The Feed Item Query Language is a syntax for expressing filters across the entries.string Optional

Response

200Status 200
Successful response
Body
details
NameDescriptionTypeAttributes and examples
array of WorkspaceInfo
Datatype details
TypeDescriptionAttributes and examples
array
WorkspaceInfo
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden - no permissions to access resource
Body
ErrorResponse
500Status 500
Server error - something went wrong on server side
Body
ErrorResponse

Remove Workspace

DELETE /orchestration/workspaces/{id}

Remove the Workspace and all its subparts : executables (tasks and plans), permissions, etc.

Make sure the user is entitled with ENVIRONMENT_MANAGEMENT role.

Custom Workspaces only can be removed using this API. (Shared and Personal are linked either to Environment or User’s life cycle)

Workspace in use won’t be removed : if any task, artifact, resource, connection is used in any other workspace, removal is not achieved. Please make sure Workspace removal is confirmed before calling this endpoint as removal will be cascading all subsidiary elements within. With no cancellation service available.

Request

Path variables
NameDescriptionTypeAttributes and examples
idstring Required

Response

204Status 204
Successful response - No Content
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden - no permissions to access resource
Body
ErrorResponse
404Status 404
Not found - resource not found
Body
ErrorResponse
409Status 409
There are objects in custom workspace that could not be removed
Body
ErrorResponse
500Status 500
Server error - something went wrong on server side
Body
ErrorResponse

Update Workspace

PUT /orchestration/workspaces/{id}
Update the identified Workspace. Make sure the user is entitled with ENVIRONMENT_MANAGEMENT role.

Request

Path variables
NameDescriptionTypeAttributes and examples
idstring Required
Body
Object
NameDescriptionTypeAttributes and examples
namestring Required
descriptionstring Optional
ownerstring Optional
protectedArtifactUpdate

Allows to restrict the scope of task updates when a new artifact version is published. 

  • true : the tasks of this workspace are protected from the unintended updates triggered by artifacts being published in other workspaces. These tasks are updated only when artifacts are being published in the same workspace
  • false : tasks that have been set to use the latest version of the published artifact, or any other artifact that has the same name as the newly published artifact, are all updated , whatever workspace is used for this artifact publishing.
boolean Optional

Response

204Status 204
Successful response - No Content
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden - no permissions to access resource
Body
ErrorResponse
404Status 404
Not found - resource not found
Body
ErrorResponse
500Status 500
Server error - something went wrong on server side
Body
ErrorResponse

Plans

Step

Object
NameDescriptionTypeAttributes and examples
idStep idstring Optional
nameStep namestring Required
conditionExpected status of successful stepstring Required
taskIdsarray of string Required
Datatype details
TypeDescriptionAttributes and examples
arrayList of step tasks
string
handlerOnFailureStepErrorHandler Optional
noteDescription to rerun a plan execution from this stepstring Optional
Step
[
  {
    "condition": "ALL_SUCCEEDED",
    "handlerOnFailure": {
      "planIds": [
        "5d5fc81f79bc197d2483a104"
      ],
      "taskIds": [
        "5d5fc81f79bc197d2483a102",
        "5d5fc81f79bc197d2483a103"
      ]
    },
    "id": "9af64991e4b0b689a64feed0",
    "name": "Step 1",
    "note": "Clear the database for users",
    "successfulStepCondition": "ALL_SUCCEEDED",
    "taskIds": [
      "5d5fc81f79bc197d2483a100",
      "5d5fc81f79bc197d2483a101"
    ]
  }
]

StepErrorHandler

Object
NameDescriptionTypeAttributes and examples
taskIdsarray of string Optional
Datatype details
TypeDescriptionAttributes and examples
arrayList of handler tasks
string
planIdsarray of string Optional
Datatype details
TypeDescriptionAttributes and examples
arrayList of handler plans
string

Plan

Object
NameDescriptionTypeAttributes and examples
idResource idstring Required
nameResource namestring Required
descriptionResource descriptionstring Optional
workspaceWorkspaceInfo Optional
createDateDate of creation of the resourcedatetime Required
RFC3339
updateDateDate of updating of the resourcedatetime Optional
RFC3339
authorPlan authorstring Required
stepsarray of Step Required
Datatype details
TypeDescriptionAttributes and examples
arrayPlan steps
Step
authorTypePlan author typestring Optional

PlanExecutableDetails

Object
NameDescriptionTypeAttributes and examples
executableExecutable identifierstring Required
nameExecutable namestring Required
workspaceWorkspaceInfo Required
descriptionExecutable descriptionstring Optional
chartPlanStep Required
statusPlan execution statusstring Optional
planPauseDetailsPlanPauseDetails Optional

PlanRequest

Object
NameDescriptionTypeAttributes and examples
namePlan namestring Required
workspaceIdPlan workspacestring Required
descriptionPlan descriptionstring Optional
stepsarray of Step Required
Datatype details
TypeDescriptionAttributes and examples
arrayPlan steps
Step
PlanRequest
{
  "description": "Some description",
  "name": "Plan 1",
  "steps": [
    {
      "condition": "ALL_SUCCEEDED",
      "handlerOnFailure": {
        "planIds": [
          "5d5fc81f79bc197d2483a104"
        ],
        "taskIds": [
          "5d5fc81f79bc197d2483a102",
          "5d5fc81f79bc197d2483a103"
        ]
      },
      "id": "9af64991e4b0b689a64feed0",
      "name": "Step 1",
      "note": "Clear the database for users",
      "successfulStepCondition": "ALL_SUCCEEDED",
      "taskIds": [
        "5d5fc81f79bc197d2483a100",
        "5d5fc81f79bc197d2483a101"
      ]
    }
  ],
  "workspaceId": "57f64991e4b0b689a64feed2"
}

PlanStep

Plan Steps for work with required tasks.
Object
NameDescriptionTypeAttributes and examples
idId of Plan Stepstring Optional
abstractStepIdAbstract id of the Stepstring Optional
nameStep namestring Optional
statusStatus of the current stepstring Optional
stepOnExceptionPlanStep Optional
nextStepPlanStep Optional
flowsarray of PlanTask Optional
Datatype details
TypeDescriptionAttributes and examples
arrayList of current step plan tasks (flows)
PlanTask
noteNote, added to the current stepstring Optional
taskIdsarray of string Optional
Datatype details
TypeDescriptionAttributes and examples
arrayList of task ids connected to current plan
string

PlanTask

Object
NameDescriptionTypeAttributes and examples
idId of the current plan taskstring Optional
nameName of the current plan taskstring Optional
versionVersion of the current plan taskstring Optional
descriptionPlan task descriptionstring Optional
destinationDestination of the the current plan taskstring Optional
workspaceIdId of the plan task’s workspacestring Optional
abstractPlanIdId of the abstract planstring Optional
artifactBaseArtifactVersion Optional
taskPauseDetailsTaskPauseDetails Optional

PlanRunConfig

Object
NameDescriptionTypeAttributes and examples
triggerTrigger Required
parallelExecutionAllowedIndicates whether this executable is allowed to run in parallel. ‘false’ by defaultboolean Optional

ExecutionStep

Object
NameDescriptionTypeAttributes and examples
stepIdstring Optional
abstractStepIdstring Optional
stepNamestring Optional
statusstring Optional
stepOnExceptionExecutionStep Optional
nextStepExecutionStep Optional
flowsarray of ExecutionFlow Optional
Datatype details
TypeDescriptionAttributes and examples
array
ExecutionFlow
stepNotestring Optional

ExecutionFlow

Object
NameDescriptionTypeAttributes and examples
idId of current execution flowstring Optional
nameName of current execution flowstring Optional
versionVersion of current execution flowstring Optional
descriptionExecution flow descriptionstring Optional
destinationDestination of current flowstring Optional
workspaceIdstring Optional
abstractPlanIdstring Optional
planboolean Optional
artifactShortVersionArtifactVersion Optional
upgradeInfoUpgradeInfo Optional
jobTypestring Optional
pauseDetailsPauseDetails Optional

PlanPauseDetails

Contains status of Plan regarding Pause/Resume capacity, as well as optional contextual explanation for the pause. You can use this context for audit purpose to link information on the IT event that led to this pause (eg. maintenance window for prod operation).
Object
NameDescriptionTypeAttributes and examples
pauseIf true, pausedboolean Required
pauseContextPlan pause descriptionstring Optional
userUser that took the action to pausestring Optional
userTypeUserType Optional
pauseDateThe date time when this pause starteddatetime Optional
RFC3339
PlanPauseDetails
{
  "pause": true,
  "pauseContext": "Pause for Monthly Prod Op #XYZ",
  "pauseDate": "2023-01-13T14:42:58.341Z",
  "user": "adminMasterX",
  "userType": "HUMAN"
 }

PagePlan

Object
NameDescriptionTypeAttributes and examples
itemsarray of PlanExecutableDetails Optional
Datatype details
TypeDescriptionAttributes and examples
array
PlanExecutableDetails
limitinteger Required
INT32
offsetinteger Required
INT32
totalinteger Optional
INT32

PauseDetails

Contains status regarding Pause/Resume capacity, as well as optional contextual explanation for the pause. You can use this context to link information on the production event that led to this pause (eg. maintenance window for prod operation).
Object
NameDescriptionTypeAttributes and examples
pauseIf true, pausedboolean Required
pauseContextPlan pause descriptionstring Optional
userUser that took the action to pausestring Optional
userTypeUserType Optional
pauseDateThe date time when this pause starteddatetime Optional
RFC3339
PauseDetails
{
  "pause": true,
  "pauseContext": "Pausing execution",
  "pauseDate": "2023-01-13T14:42:58.341Z",
  "user": "admin",
  "userType": "HUMAN"
 }

Create Plan

POST /orchestration/executables/plans
Create Plan

Request

Body
PlanRequest

Response

201Status 201
Created
Body
Plan
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Get available Plans

GET /orchestration/executables/plans
Get available Plans

Request

Query parameters
NameDescriptionTypeAttributes and examples
environmentIdenvironment idstring Optional
offsetthe position of the first item. Must be greater than or equal to 0. Default value - 0integer Optional
INT32
workspaceIdworkspace idstring Optional
taskIdtask Idstring Optional
nameplan name filterstring Optional
limitthe number of items to return. Must be in range [1, 100]. Default value - 100integer Optional
INT32
planIdplan idstring Optional

Response

200Status 200
OK
Body
PagePlan
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Delete Plan

DELETE /orchestration/executables/plans/{planId}
Delete Plan

Request

Path variables
NameDescriptionTypeAttributes and examples
planIdexecutable IDstring Required

Response

204Status 204
No Content
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
409Status 409
Conflict
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Get Plan details

GET /orchestration/executables/plans/{planId}
Get Plan details

Request

Path variables
NameDescriptionTypeAttributes and examples
planIdexecutable IDstring Required

Response

200Status 200
Successful response
Body
PlanExecutableDetails
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden - no permissions to access resource
Body
ErrorResponse
404Status 404
Not found - resource not found
Body
ErrorResponse
500Status 500
Server error - something went wrong on server side
Body
ErrorResponse

Update plan

PUT /orchestration/executables/plans/{planId}
Update Plan

Request

Path variables
NameDescriptionTypeAttributes and examples
planIdexecutable IDstring Required
Body
PlanRequest

Response

200Status 200
OK
Body
Plan
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Configure Plan execution

PUT /orchestration/executables/plans/{planId}/run-config
Configure Plan execution

Request

Path variables
NameDescriptionTypeAttributes and examples
planIdplan idstring Required
Body
PlanRunConfig

Response

200Status 200
OK
Body
PlanRunConfig
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Get Plan configuration

GET /orchestration/executables/plans/{planId}/run-config

Get Plan configuration applied to your Plan executions.

Please take note :

  • the Trigger definition can now have some new value ‘Multiple’ defined when you link your plan to some Multiple Time Trigger schedule.
  • whenever such multiple trigger schedule is linked please use the new dedicated endpoints to manage this specific scheduling configuration.

Request

Path variables
NameDescriptionTypeAttributes and examples
planIdplan idstring Required

Response

200Status 200
OK
Body
PlanRunConfig
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Stop schedule for plan

DELETE /orchestration/executables/plans/{planId}/run-config
Stop schedule for plan

Request

Path variables
NameDescriptionTypeAttributes and examples
planIdplan idstring Required

Response

204Status 204
No Content
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Get plan scheduled triggers

GET /orchestration/executables/plans/{planId}/run-config/events
Get plan triggers for cron schedules

Request

Path variables
NameDescriptionTypeAttributes and examples
planIdstring Required
Query parameters
NameDescriptionTypeAttributes and examples
offsetthe position of the first item. Must be greater than or equal to 0. Default value - 0integer Optional
INT32
toto date time (milliseconds)integer Required
INT64
limitthe number of items to return. Must be in range [1, 100]. Default value - 100integer Optional
INT32
fromfrom date time (milliseconds)integer Optional
INT64

Response

200Status 200
OK
Body
PageEvents
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Pause-Resume Plan executions

PUT /orchestration/executables/plans/{planId}/pause
Allow to pause and resume plan executions

Request

Path variables
NameDescriptionTypeAttributes and examples
planIdstring Required
Body
PlanPauseDetails

Response

202Status 202
Successful response - Accepted (work is done in background)
204Status 204
Successful response - No content
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden - no permissions to access resource
Body
ErrorResponse
404Status 404
Not found - resource not found
Body
ErrorResponse
500Status 500
Server error - something went wrong on server side
Body
ErrorResponse

Projects

ProjectView

Object
NameDescriptionTypeAttributes and examples
idstring Optional
namestring Optional
technicalLabelstring Optional
descriptionstring Optional
urlstring Optional
authorstring Optional
ownerstring Optional
projectTypestring Optional
repoTypestring Optional
createDatedatetime Optional
RFC3339
updateDatedatetime Optional
RFC3339

ProjectCreateRequest

Object
NameDescriptionTypeAttributes and examples
ownerOwner namestring Required
descriptionProject descriptionstring Optional
urlProject urlstring Required
nameProject namestring Required

ProjectRequest

Object
NameDescriptionTypeAttributes and examples
ownerOwner namestring Optional
descriptionProject descriptionstring Optional
urlProject urlstring Optional

SourcesRepositoryData

Object
NameDescriptionTypeAttributes and examples
projectproject namestring Required
branchrepository branchstring Optional
commitRepositoryCommitData Optional

RepositoryCommitData

Object
NameDescriptionTypeAttributes and examples
idcommit idstring Required
datecommit date timedatetime Optional
RFC3339
authorcommit authorstring Required

PageProject

Object
NameDescriptionTypeAttributes and examples
itemsarray of ProjectView Optional
Datatype details
TypeDescriptionAttributes and examples
array
ProjectView
limitinteger Optional
INT32
offsetinteger Optional
INT32
totalinteger Optional
INT32

Create Project

POST /orchestration/projects

Create Project

Please take note only PAT access is supported on this endpoint at current.

Request

Body
ProjectCreateRequest

Response

201Status 201
Created
Body
ProjectView
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
409Status 409
Project already exists
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Get Projects

GET /orchestration/projects

Get Projects

Please take note only PAT access is supported on this endpoint at current.

Request

Query parameters
NameDescriptionTypeAttributes and examples
projectNameproject name filterstring Optional
limitthe number of items to return. Must be in range [1, 100]. Default value - 100integer Optional
INT32
offsetthe position of the first item. Must be greater than or equal to 0. Default value - 0integer Optional
INT32

Response

200Status 200
OK
Body
PageProject
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Delete project

DELETE /orchestration/projects/{projectId}

Delete project

Please take note only PAT access is supported on this endpoint at current.

Request

Path variables
NameDescriptionTypeAttributes and examples
projectIdproject IDstring Required

Response

204Status 204
No Content
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not found
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Get Project by id

GET /orchestration/projects/{projectId}

Get Project by id

Please take note only PAT access is supported on this endpoint at current.

Request

Path variables
NameDescriptionTypeAttributes and examples
projectIdproject IDstring Required

Response

200Status 200
OK
Body
ProjectView
400Status 400
Project Id is not valid id.
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not found
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Update Project

PUT /orchestration/projects/{projectId}

Update Project

Please take note only PAT access is supported on this endpoint at current.

Request

Path variables
NameDescriptionTypeAttributes and examples
projectIdproject IDstring Required
Body
ProjectRequest

Response

200Status 200
OK
Body
ProjectView
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not found
Body
ErrorResponse
409Status 409
Conflict
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Projects Authorization

ProjectUserAuthResponse

Object
NameDescriptionTypeAttributes and examples
projectIdstring Optional
userIdsarray of string Optional
Datatype details
TypeDescriptionAttributes and examples
array
string

ProjectGroupAuthResponse

Object
NameDescriptionTypeAttributes and examples
projectIdstring Optional
groupIdsarray of string Optional
Datatype details
TypeDescriptionAttributes and examples
array
string

Get group project authorizations

GET /orchestration/projects/{projectId}/groups
Get group project authorizations

Request

Path variables
NameDescriptionTypeAttributes and examples
projectIdproject IDstring Required

Response

200Status 200
OK
Body
ProjectGroupAuthResponse
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Delete group project authorization

DELETE /orchestration/projects/{projectId}/groups/{groupId}
Delete group project authorization

Request

Path variables
NameDescriptionTypeAttributes and examples
projectIdproject IDstring Required
groupIdgroup IDstring Required

Response

204Status 204
No Content
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not found
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Add group project authorization

PUT /orchestration/projects/{projectId}/groups/{groupId}
Add group project authorization

Request

Path variables
NameDescriptionTypeAttributes and examples
projectIdproject IDstring Required
groupIdgroup IDstring Required

Response

204Status 204
No Content
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not found
Body
ErrorResponse
409Status 409
Authorization already exists
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Get user project authorizations

GET /orchestration/projects/{projectId}/users
Get user project authorizations

Request

Path variables
NameDescriptionTypeAttributes and examples
projectIdproject IDstring Required

Response

200Status 200
OK
Body
ProjectUserAuthResponse
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Add user project authorization

PUT /orchestration/projects/{projectId}/users/{userId}
Add user project authorization

Request

Path variables
NameDescriptionTypeAttributes and examples
projectIdproject IDstring Required
userIduser IDstring Required

Response

204Status 204
No Content
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not found
Body
ErrorResponse
409Status 409
Authorization already exists
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Delete user project authorization

DELETE /orchestration/projects/{projectId}/users/{userId}
Delete user project authorization

Request

Path variables
NameDescriptionTypeAttributes and examples
projectIdproject IDstring Required
userIduser IDstring Required

Response

204Status 204
No Content
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not found
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Promotions

AdvancedPromotionSpec

Object
NameDescriptionTypeAttributes and examples
artifactIdAdvanced Promotion Artifact Idstring Optional
artifactTypeAdvanced Promotion Artifact Type. In the following list of allowed values, ‘ACTION’ refers to Artifacts, ‘FLOW’ refers to Tasks, ‘PLAN’ refers to Plans and ‘WORKSPACE’ refers to Workspacesstring Optional

ArtifactPromotionResult

Object
NameDescriptionTypeAttributes and examples
idArtifact IDstring Optional
targetIdTarget Artifact IDstring Optional
nameArtifact Namestring Optional
typeArtifact Typestring Optional
analyzeReportReport Optional
promotionReportReport Optional
usedByarray of FlowPromotionResult Optional
Datatype details
TypeDescriptionAttributes and examples
arrayUsed by Artifacts
FlowPromotionResult
targetVersionArtifact Version In Target Environmentstring Optional
versionArtifact Version In Source Environmentstring Optional
versionsarray of ArtifactPromotionResult Optional
Datatype details
TypeDescriptionAttributes and examples
arrayList of Action Versions
ArtifactPromotionResult
jobTypeAction Job Typestring Optional
workspaceIdPromoted Artifact Workspace IDstring Optional
artifactIdFlow artifact namestring Optional

FlowPromotionResult

Object
NameDescriptionTypeAttributes and examples
idArtifact IDstring Optional
targetIdTarget Artifact IDstring Optional
nameArtifact Namestring Optional
typeArtifact Typestring Optional
analyzeReportReport Optional
promotionReportReport Optional
usedByarray of FlowPromotionResult Optional
Datatype details
TypeDescriptionAttributes and examples
arrayActions that use the flow
FlowPromotionResult
targetVersionPromoted Flow Target Versionstring Optional
versionSource Flow Versioninteger Optional
INT32
versionsarray of ArtifactPromotionResult Optional
Datatype details
TypeDescriptionAttributes and examples
arrayAction Versions
ArtifactPromotionResult
jobTypeFlow Job Typestring Optional
workspaceIdPromoted Flow Workspace IDstring Optional
artifactIdFlow artifact Idstring Optional

UpdateDescriptionRequest

Object
NameDescriptionTypeAttributes and examples
descriptionPromotion descriptionstring Required

PromotionExecutableDetails

Object
NameDescriptionTypeAttributes and examples
executableExecutable identifierstring Required
nameExecutable namestring Required
sourceEnvironmentEnvironmentInfo Optional
targetEnvironmentEnvironmentInfo Optional
descriptionPromotion description (not returned when querying a list of objects)string Optional

CreatePromotionRequest

Object
NameDescriptionTypeAttributes and examples
sourceEnvironmentIdSource environment IDstring Required
targetEnvironmentIdTarget environment IDstring Required
descriptionPromotion descriptionstring Optional

TaskAutoUpgradeRequest

Object
NameDescriptionTypeAttributes and examples
workspaceIdWorkspace id of task to createstring Required
nameTask namestring Required
descriptionTask descriptionstring Required
tagsarray of string Optional
Datatype details
TypeDescriptionAttributes and examples
arrayTask tags
string
connectionsTask connectionsObjectOptional
parametersTask parametersObjectOptional
resourcesTask resourcesObjectOptional
artifactArtifactRequest Required
autoUpgradeInfoAutoUpgradeInfo Optional

UpgradeInfo

Object
NameDescriptionTypeAttributes and examples
upgradableboolean Optional
autoUpgradeFailedboolean Optional

Message

Object
NameDescriptionTypeAttributes and examples
infostring Optional
levelstring Optional

PromotionResultInfo

Object
NameDescriptionTypeAttributes and examples
idArtifact IDstring Optional
targetIdTarget Artifact IDstring Optional
nameArtifact Namestring Optional
typeArtifact Typestring Optional
analyzeReportReport Optional
promotionReportReport Optional
targetVersionApplicable to flows only, displays version of flow in target environment after promotion executionstring Optional
versionApplicable to flows only, displays version of flow in source environmentinteger Optional
INT32
workspaceIdArtifact Workspace Idstring Optional

Report

Object
NameDescriptionTypeAttributes and examples
statusstring Optional
messagesarray of Message Optional
Datatype details
TypeDescriptionAttributes and examples
array
Message

RuntimePromotionResult

Object
NameDescriptionTypeAttributes and examples
idArtifact IDstring Optional
targetIdArtifact Target IDstring Optional
nameArtifact Namestring Optional
typeArtifact Typestring Optional
analyzeReportReport Optional
promotionReportReport Optional
usedByarray of FlowPromotionResult Optional
Datatype details
TypeDescriptionAttributes and examples
arrayFlows engines is assigned to
FlowPromotionResult
runProfilesarray of ArtifactPromotionResult Optional
Datatype details
TypeDescriptionAttributes and examples
arrayRun profiles
ArtifactPromotionResult

WorkspacePromotionResult

Object
NameDescriptionTypeAttributes and examples
idArtifact IDstring Optional
targetIdArtifact Target IDstring Optional
nameArtifact Namestring Optional
typeArtifact Typestring Optional
analyzeReportReport Optional
promotionReportReport Optional
flowsarray of FlowPromotionResult Optional
Datatype details
TypeDescriptionAttributes and examples
arrayFlows Promotion Execution Info
FlowPromotionResult
plansarray of ArtifactPromotionResult Optional
Datatype details
TypeDescriptionAttributes and examples
arrayPlans Promotion Execution Info
ArtifactPromotionResult
actionsarray of ArtifactPromotionResult Optional
Datatype details
TypeDescriptionAttributes and examples
arrayActions Promotion Execution Info
ArtifactPromotionResult
connectionsarray of ArtifactPromotionResult Optional
Datatype details
TypeDescriptionAttributes and examples
arrayConnections Promotion Execution Info
ArtifactPromotionResult
resourcesarray of ArtifactPromotionResult Optional
Datatype details
TypeDescriptionAttributes and examples
arrayResources Promotion Execution Info
ArtifactPromotionResult
enginesarray of RuntimePromotionResult Optional
Datatype details
TypeDescriptionAttributes and examples
arrayEngines Promotion Execution Info
RuntimePromotionResult
clustersarray of RuntimePromotionResult Optional
Datatype details
TypeDescriptionAttributes and examples
arrayClusters Promotion Execution Info
RuntimePromotionResult
workspaceTypePromoted Workspace Typestring Optional

PromotionExecutionStatusV26

Object
NameDescriptionTypeAttributes and examples
executionIdJob execution IDstring Required
startTimestampStart time of job execution (UTC)datetime Optional
RFC3339
triggerTimestampTrigger time of job execution (UTC)datetime Required
RFC3339
finishTimestampEnd time of job execution (UTC)datetime Optional
RFC3339
userIdUser who triggered or scheduled the executionstring Required
userTypePromotion Executor user typestring Required
promotionIdPromotion IDstring Optional
pipelineIdDeprecated! Use Promotion ID insteadstring Optional
keepTargetResourcesKeep Target Resources flagboolean Optional
keepTargetRunProfilesKeep Target Run Profiles flag (not returned for API versions earlier V2.2)boolean Optional
advancedAdvancedPromotionSpec Optional
defectiveDefective Promotion flagboolean Optional
statusExecution statusstring Optional
statusMessageExecution Status Messagestring Optional
workspacesarray of WorkspacePromotionResult Optional
Datatype details
TypeDescriptionAttributes and examples
arrayWorkspace Promotion Execution Info
WorkspacePromotionResult
enginesarray of RuntimePromotionResult Optional
Datatype details
TypeDescriptionAttributes and examples
arrayRemote Engines Promotion Execution Info
RuntimePromotionResult
clustersarray of RuntimePromotionResult Optional
Datatype details
TypeDescriptionAttributes and examples
arrayRemote Engine Clusters Promotion Execution Info
RuntimePromotionResult
contextExecution context messagestring Optional
255

PromotionAdvancedInfo

Object
NameDescriptionTypeAttributes and examples
idArtifact IDstring Optional
nameArtifact Namestring Optional
workspaceIdArtifact workspace IDstring Optional
typeDefines the scope of the promotion executionstring Optional

PromotionExecutionDetails

Object
NameDescriptionTypeAttributes and examples
keepTargetRunProfilesDont touch run profiles on targetboolean Optional
keepTargetResourcesDont touch resources on targetboolean Optional
contextOptional context for audit log the promotion executionstring Optional
promotionAdvancedInfoPromotionAdvancedInfo Optional

Get available Promotions

GET /orchestration/executables/promotions
Get available Promotions

Request

Query parameters
NameDescriptionTypeAttributes and examples
_ssearch query (FIQL format), e.g. “name==dev to prod*”string Optional

Response

200Status 200
OK
Body
details
NameDescriptionTypeAttributes and examples
array of PromotionExecutableDetails
Datatype details
TypeDescriptionAttributes and examples
array
PromotionExecutableDetails
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Create a Promotion

POST /orchestration/executables/promotions
Create a Promotion

Request

Body
CreatePromotionRequest

Response

201Status 201
Created
Body
PromotionExecutableDetails
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
409Status 409
Promotion with same source and target already exists
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Get Promotion details

GET /orchestration/executables/promotions/{promotionId}
Get Promotion details

Request

Path variables
NameDescriptionTypeAttributes and examples
promotionIdPromotion IDstring Required

Response

200Status 200
OK
Body
PromotionExecutableDetails
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Delete a Promotion

DELETE /orchestration/executables/promotions/{promotionId}
Delete a Promotion

Request

Path variables
NameDescriptionTypeAttributes and examples
promotionIdPromotion IDstring Required

Response

204Status 204
No Content
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Perform promotion analysis

POST /orchestration/executables/promotions/{promotionId}
Simulate upcoming executions of a promotion and get reports about its change analysis without executing it in real. Note that the target version displayed in the analysis could differ from the target version from the real promotion execution, if some changes are made in the target environment between the simulation and the actual execution of the promotion.

Request

Path variables
NameDescriptionTypeAttributes and examples
promotionIdPromotion IDstring Required
Body
PromotionExecutionDetails

Response

200Status 200
Successful response
Body
PromotionExecutionStatusV26
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden - no permissions to access resource
Body
ErrorResponse
404Status 404
Not found - resource not found
Body
ErrorResponse
500Status 500
Server error - something went wrong on server side
Body
ErrorResponse

Update a Promotion

PATCH /orchestration/executables/promotions/{promotionId}
Update a Promotion

Request

Path variables
NameDescriptionTypeAttributes and examples
promotionIdPromotion IDstring Required
Body
UpdateDescriptionRequest

Response

204Status 204
No Content
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Promotions Authorization

PromotionUsersResponse

Object
NameDescriptionTypeAttributes and examples
executablePromotion IDstring Required
userIdsarray of string Required
Datatype details
TypeDescriptionAttributes and examples
arrayAssigned users
string
serviceAccountIdsarray of string Required
Datatype details
TypeDescriptionAttributes and examples
arrayAssigned Service accounts
string

Get users assigned to Promotion

GET /orchestration/executables/promotions/{promotionId}/users
Get users assigned to Promotion

Request

Path variables
NameDescriptionTypeAttributes and examples
promotionIdPromotion IDstring Required

Response

200Status 200
OK
Body
PromotionUsersResponse
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Unassign user from Promotion

DELETE /orchestration/executables/promotions/{promotionId}/users/{userId}
Unassign user from Promotion

Request

Path variables
NameDescriptionTypeAttributes and examples
promotionIdPromotion IDstring Required
userIdUser IDstring Required

Response

204Status 204
No Content
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Assign user to Promotion

PUT /orchestration/executables/promotions/{promotionId}/users/{userId}
Assign user to Promotion

Request

Path variables
NameDescriptionTypeAttributes and examples
promotionIdPromotion IDstring Required
userIdUser IDstring Required

Response

204Status 204
No Content
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
409Status 409
User is already assigned to the promotion
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Assign service account to promotion

PUT /orchestration/executables/promotions/{promotionId}/service-accounts/{serviceAccountId}
Assign service account to promotion

Request

Path variables
NameDescriptionTypeAttributes and examples
promotionIdstring Required
serviceAccountIdstring Required

Response

204Status 204
Service Account has been assigned to promotion
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden - no permissions to access resource
Body
ErrorResponse
404Status 404
Not found - resource not found
Body
ErrorResponse
500Status 500
Server error - something went wrong on server side
Body
ErrorResponse

Unassign service account from promotion

DELETE /orchestration/executables/promotions/{promotionId}/service-accounts/{serviceAccountId}
Unassign service account from promotion

Request

Path variables
NameDescriptionTypeAttributes and examples
promotionIdstring Required
serviceAccountIdstring Required

Response

204Status 204
Service account has been unassigned from promotion
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden - no permissions to access resource
Body
ErrorResponse
404Status 404
Not found - resource not found
Body
ErrorResponse
500Status 500
Server error - something went wrong on server side
Body
ErrorResponse

Resources

Resource

Object
NameDescriptionTypeAttributes and examples
idId of resourcestring Required
nameName of resourcestring Required
descriptionDescription of resourcestring Optional
workspaceInfoWorkspaceInfo Required
fileBoolean value which indicates that resource is fileboolean Required

UpdateResourceRequest

Object
NameDescriptionTypeAttributes and examples
nameResource namestring Optional
descriptionResource descriptionstring Optional

PageResource

Object
NameDescriptionTypeAttributes and examples
itemsarray of Resource Optional
Datatype details
TypeDescriptionAttributes and examples
array
Resource
limitinteger Optional
INT32
offsetinteger Optional
INT32
totalinteger Optional
INT32

CreateResourceRequest

Resource detail : json payload with resource attributes
string
CreateResourceRequest
{
    "name": "resource name",
    "description": "resource description",
    "workspaceId": "workspace id",
    "file": true
}

Get Resources

GET /orchestration/resources

Request

Query parameters
NameDescriptionTypeAttributes and examples
offsetthe position of the first item. Must be greater than or equal to 0. Default value - 0integer Optional
INT32
nameResource name filterstring Optional
limitthe number of items to return. Must be in range [1, 100]. Default value - 100integer Optional
INT32
environmentIdResource environment id filterstring Optional
workspaceIdResource workspace id filterstring Optional

Response

200Status 200
OK
Body
PageResource
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Create a Resource

POST /orchestration/resources

Request

Body
Object
NameDescriptionTypeAttributes and examples
resourceCreateResourceRequest Required
file

Attach a resource file you need to use with your tasks.

To ensure that your tasks run smoothly without any security-related interruptions, it is recommended to encode the file in base64 and add a decoding step directly in the Jobs that require it.

This design not only helps protect your data but also avoids any potential security issues that may arise from Talend Cloud’s security mechanism interpreting the file.

file Required

Response

200Status 200
successful operation
Body
Resource
201Status 201
Created successfully
Body
Resource
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Workspace id not found.
Body
ErrorResponse
409Status 409
Resource name already used
Body
ErrorResponse
413Status 413
Upload limit exceeded
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Get Resource by id

GET /orchestration/resources/{resourceId}
Get Resource by id

Request

Path variables
NameDescriptionTypeAttributes and examples
resourceIdResource idstring Required

Response

200Status 200
Success
Body
Resource
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Delete a Resource

DELETE /orchestration/resources/{resourceId}

Request

Path variables
NameDescriptionTypeAttributes and examples
resourceIdResource idstring Required

Response

204Status 204
no content
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
409Status 409
Resource is in use
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Update a Resource

PATCH /orchestration/resources/{resourceId}

Request

Path variables
NameDescriptionTypeAttributes and examples
resourceIdResource idstring Required
Body
UpdateResourceRequest

Response

204Status 204
no content
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Update a Resource attachment

PUT /orchestration/resources/{resourceId}/upload

Request

Path variables
NameDescriptionTypeAttributes and examples
resourceIdResource IDstring Required
Body
Object
NameDescriptionTypeAttributes and examples
fileResource attachmentfile Optional

Response

204Status 204
no content
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
413Status 413
Upload limit exceeded
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Move a Resource attachment

PUT /orchestration/resources/{resourceId}/move/{targetWorkspaceId}
Move a resource to another workspace. The target workspace must be in the same environment as the original one.

Request

Path variables
NameDescriptionTypeAttributes and examples
resourceIdstring Required
targetWorkspaceIdstring Required

Response

200Status 200
Resource moved
Body
Resource
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
409Status 409
Body
Resource name already exists
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Schedules

ScheduleTrigger

Elementary Scheduling item. Also known as ‘trigger’, this schedule object can take different types : CRON, ONCE, DAILY, WEEKLY, MONTHLY.

Note that schedule updates that are made within three minutes prior to the scheduled execution time immediately impact the execution. For this reason, avoid making schedule changes when an execution is about to be triggered.

Object
NameDescriptionTypeAttributes and examples
nameName of your trigger, unique within a schedulestring Required
typeType of schedule = [‘ONCE’, ‘DAILY’, ‘WEEKLY’, ‘MONTHLY’, ‘CRON’],string Required
intervalInterval between task/plan running in days/weeks/months, required only if type of schedule is not equal to ‘ONCEinteger Optional
INT32
startDateDate when the schedule should start to be activestring Optional
startTimeTime when the schedule should start to be activestring Optional
timeZoneTime zone for task schedulestring Optional
atTimesSpecific ‘at Times’ scheduleObjectOptional
NameDescriptionTypeAttributes and examples
typeType of schedule at timesstring Optional
timesarray of string Optional
Datatype details
TypeDescriptionAttributes and examples
arrayTimestamps to run task/plan, required only if type of schedule at times equal to AT_SPECIFIC_TIMES
string
timeTimestamp to run task/plan, required only if type of schedule at times equal to AT_TIMEstring Optional
startTimeInterval start timestamp, required only if type of schedule at times equal to AT_INTERVALSstring Optional
endTimeInterval end timestamp, required only if type of schedule at times equal to AT_INTERVALSstring Optional
intervalDuration of interval in minutes, required only if type of schedule at times equal to AT_INTERVALSinteger Optional
INT32
atDaysSpecific ‘at Days’ scheduleObjectOptional
NameDescriptionTypeAttributes and examples
typeType of schedule at daysstring Optional
dayDay of month to run task/plan, required only if type of schedule at days is equal to DAY_OF_MONTHnumber Optional
INT32
daysarray of string Optional
Datatype details
TypeDescriptionAttributes and examples
arrayList of days of week to run task/plan, required only if type of schedule at days is equal to DAY_OF_WEEK
string
cronExpressionCRON Optional
timeoutTimeout to apply (in minutes) to this trigger executions only. This value would override the default timeout possibly set on Task definition.integer Optional
INT32
ScheduleTrigger
{
        "name": "Once trigger example",
        "startDate": "2022-06-16",
        "startTime": "05:30",
        "timeZone": "Europe/Kiev",
        "type": "ONCE",
        "atTimes": {
            "type": "AT_TIME",
            "time": "11:00"
        }
  }

Schedule

Object
NameDescriptionTypeAttributes and examples
idUnique identifierstring Required
descriptionFunctional descriptionstring Optional
triggersarray of ScheduleTrigger Optional
Datatype details
TypeDescriptionAttributes and examples
arrayList of elementary triggers defined within schedule
ScheduleTrigger
environmentIdId of the environment this schedule is part ofstring Required
executableIdId the task or plan this schedule is applied to. When empty, means the schedule is not in action.string Optional
executableTypeExecutable type, ie Task or Plan, to which this schedule applies tostring Optional

PageSchedule

Object
NameDescriptionTypeAttributes and examples
itemsarray of Schedule Required
Datatype details
TypeDescriptionAttributes and examples
array
Schedule
limitinteger Required
INT32
offsetinteger Required
INT32
totalinteger Required
INT32

CRON

string
CRON
0 0 1W * ? *

Get all schedules

GET /orchestration/schedules

Retrieve schedules present on your account according to several optional search criteria :

  • Environment
  • Description
  • Bound status : filter in or out orphan schedules or schedules in action on a task or plan

Please be aware user would need VIEW permission on the workspace where the schedule is in action and at least on one workspace within the environment for unlinked schedules.

Request

Query parameters
NameDescriptionTypeAttributes and examples
descriptionFilterSearch in Description with regular expressionstring Optional
environmentIdEnvironment to narrow the searchstring Optional
offsetthe position of the first item. Must be greater than or equal to 0. Default value - 0integer Optional
INT32
onlyBoundOnly bound schedulers, ie in use for scheduling some executableboolean Optional
limitthe number of items to return. Must be in range [1, 100]. Default value - 100integer Optional
INT32

Response

200Status 200
Schedules list provided
Body
PageSchedule
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden - no permissions to access resource
Body
ErrorResponse
500Status 500
Server error - something went wrong on server side
Body
ErrorResponse

Create a schedule

POST /orchestration/schedules

Create a new schedule providing one initial trigger item.

You would be able to add some more triggers, update one trigger or remove it using the unique ressource endpoint for your created schedule.

The created schedule is orphan, it means it is not related yet to any task or plan for your executions.

User should be TMC_OPERATOR and have EXECUTOR Permission at least for one workspace in the environment.

Request

Body
Object
NameDescriptionTypeAttributes and examples
descriptionSome description related to the usage of the schedulerstring Optional
environmentIdEnvironment where this schedule will be availablestring Required
triggerScheduleTrigger Required

Response

201Status 201
Scheduler created
Body
Object
NameDescriptionTypeAttributes and examples
idUnique identifier of your schedule objectstring Required
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden - no permissions to access resource
Body
ErrorResponse
500Status 500
Server error - something went wrong on server side
Body
ErrorResponse

Update the schedule

PATCH /orchestration/schedules/{scheduleId}
Apply partial changes to the scheduler object. Actually allows you to update the functional description of your schedule.

Request

Path variables
NameDescriptionTypeAttributes and examples
scheduleIdstring Required
Body
Object
NameDescriptionTypeAttributes and examples
descriptionFunctional description to updatestring Optional

Response

204Status 204
Scheduler has been successfully updated
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden - no permissions to access resource
Body
ErrorResponse
404Status 404
Schedule not found
Body
ErrorResponse
409Status 409
Conflict
Body
ErrorResponse
428Status 428
Precondition Required (Permissions)
Body
ErrorResponse
500Status 500
Server error - something went wrong on server side
Body
ErrorResponse

Clone the schedule

POST /orchestration/schedules/{scheduleId}
Duplicate the current schedule : all the triggers present in the source schedule will be duplicated on the copy. If no name is provided for the schedule copy, some “copy of” source name will be given to target schedule copy. The newly created schedule wont be linked to any executable, but ready to be.

Request

Path variables
NameDescriptionTypeAttributes and examples
scheduleIdstring Required
Body
Object
NameDescriptionTypeAttributes and examples
descriptionTarget description of the schedulestring Optional

Response

201Status 201
Successful response - Created
Body
Object
NameDescriptionTypeAttributes and examples
idstring Required
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden - no permissions to access resource
Body
ErrorResponse
404Status 404
Schedule not found
Body
ErrorResponse
500Status 500
Server error - something went wrong on server side
Body
ErrorResponse

Retrieve the schedule

GET /orchestration/schedules/{scheduleId}

Retrieve whole details of the schedule definition.

Please be aware user would need VIEW permission on the workspace when the schedule is in action on some task or plan. When not in action, User should have VIEW permission at least on one workspace within the environment.

Request

Path variables
NameDescriptionTypeAttributes and examples
scheduleIdstring Required

Response

200Status 200
Successful response
Body
Schedule
400Status 400
Invalid Schedule Id
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden - no permissions to access resource
Body
ErrorResponse
404Status 404
Schedule not found
Body
ErrorResponse
500Status 500
Server error - something went wrong on server side
Body
ErrorResponse

Delete the schedule

DELETE /orchestration/schedules/{scheduleId}
Delete the schedule object. Please note only orphan Schedules can be deleted. When the schedule is being used by an executable, It cannot be deleted. Therefore, when you need to perform a schedule cleanup, unlink your schedule before removing it.

Request

Path variables
NameDescriptionTypeAttributes and examples
scheduleIdstring Required

Response

204Status 204
No Content
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden - no permissions to access resource
Body
ErrorResponse
404Status 404
Schedule not found
Body
ErrorResponse
409Status 409
The schedule is currently in use for an executable
Body
ErrorResponse
500Status 500
Server error - something went wrong on server side
Body
ErrorResponse

Append some trigger to your schedule

POST /orchestration/schedules/{scheduleId}/triggers

Append some elementary trigger in the list. Some pre-conditions are checked :

  • the Trigger object must be valid
  • Trigger name provided must be unique
  • you can add up to 15 elementary triggers in one schedule
  • the Trigger can’t be identical to one existing trigger : no duplicate allowed
  • the new Trigger added should not bring new scheduled events that are concurrent to current events in the existing schedule : interval between two executions of the same task must not be less than 5 minutes. The concurrency of triggers are checked up to 5 years, allowing bissextile years case to be taken into consideration.

Request

Path variables
NameDescriptionTypeAttributes and examples
scheduleIdstring Required
Body
ScheduleTrigger

Response

200Status 200
Trigger added to your Scheduler object
400Status 400
too many triggers
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden - no permissions to access resource
Body
ErrorResponse
404Status 404
Schedule not found
Body
ErrorResponse
409Status 409
“Duplicate name or trigger definition” or " New trigger causes too many concurrent events with current triggers in schedule"
Body
ErrorResponse
428Status 428
Precondition Required (Permission)
Body
ErrorResponse
500Status 500
Server error - something went wrong on server side
Body
ErrorResponse

Remove a trigger from your schedule

DELETE /orchestration/schedules/{scheduleId}/triggers
Remove some trigger from the list within this schedule.

Request

Path variables
NameDescriptionTypeAttributes and examples
scheduleIdstring Required
Query parameters
NameDescriptionTypeAttributes and examples
nameName of the trigger to removestring Required

Response

204Status 204
Trigger removed from your Scheduler object
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden - no permissions to access resource
Body
ErrorResponse
404Status 404
Schedule or trigger not found
Body
ErrorResponse
500Status 500
Server error - something went wrong on server side
Body
ErrorResponse

Update an existing trigger within the schedule

PUT /orchestration/schedules/{scheduleId}/triggers
Apply changes to an existing trigger in the list. The same preconditions are applied as when adding some new trigger.

Request

Path variables
NameDescriptionTypeAttributes and examples
scheduleIdstring Required
Body
ScheduleTrigger

Response

200Status 200
Successful response
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden - no permissions to access resource
Body
ErrorResponse
404Status 404
Schedule or trigger not found
Body
ErrorResponse
409Status 409
“Duplicate name or trigger definition” or " New trigger causes too many concurrent events with current triggers in schedule"
Body
ErrorResponse
428Status 428
Precondition Required (Permission)
Body
ErrorResponse
500Status 500
Server error - something went wrong on server side
Body
ErrorResponse

Simulate next triggered events

GET /orchestration/schedules/{scheduleId}/events

Retrieve all the events that would be triggered by the schedule for a given date-time period. When no first datetime provided, the current datetime is taken as default value. This endpoint is useful for checking the design of your schedule before putting it in use or when some changes is needed.

Each triggered event is provided with the name of the elementary trigger that generated it : using this information you would be able to easily adapt the right trigger when needed.

User should have VIEW permission on the workspace when the schedule is in action on some task or plan. When not in action, User should have VIEW permission at least on one workspace within the environment.

Request

Path variables
NameDescriptionTypeAttributes and examples
scheduleIdstring Required
Query parameters
NameDescriptionTypeAttributes and examples
offsetthe position of the first item. Must be greater than or equal to 0. Default value - 0integer Optional
INT32
toDate time (milliseconds) limit to compute next events tillinteger Required
INT64
limitthe number of items to return. Must be in range [1, 100]. Default value - 100integer Optional
INT32
fromDate time (milliseconds) to compute next events from.integer Optional
INT64

Response

200Status 200
Successful response
Body
details
NameDescriptionTypeAttributes and examples
array of Object
Datatype details
TypeDescriptionAttributes and examples
array
Object
NameDescriptionTypeAttributes and examples
datetimeDate time of the triggered eventdatetime Required
RFC3339
sourceTriggerNameName of the trigger issuing the eventstring Required
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden - no permissions to access resource
Body
ErrorResponse
404Status 404
Schedule not found
Body
ErrorResponse
409Status 409
Overlapping events found
Body
ErrorResponse
428Status 428
Precondition Required
Body
ErrorResponse
500Status 500
Server error - something went wrong on server side
Body
ErrorResponse

Retrieve task schedule

GET /orchestration/executables/tasks/{taskId}/schedule
Retrieve the schedule associated to this task. User should be TMC_OPERATOR and have VIEW Permission on the workspace this task belongs to.

Request

Path variables
NameDescriptionTypeAttributes and examples
taskIdstring Required

Response

200Status 200
Successful response
Body
Schedule
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden - no permissions to access resource
Body
ErrorResponse
404Status 404
no schedule associated to the task
Body
ErrorResponse
500Status 500
Server error - something went wrong on server side
Body
ErrorResponse

Associate a schedule to a Task.

PUT /orchestration/executables/tasks/{taskId}/schedule

Apply a schedule to the executions of a Task. When some trigger is already in run-config for this task, the new schedule object will be replacing it right away.

User should be TMC_OPERATOR and have EXECUTOR Permission on the workspace this task belongs to.

Request

Path variables
NameDescriptionTypeAttributes and examples
taskIdstring Required
Body
Object
NameDescriptionTypeAttributes and examples
scheduleIdId of the scheduler to associate with the taskstring Required

Response

200Status 200
Association successfully created
400Status 400
Configuration error to associate the schedule to a task.
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Schedule is already assigned to another task or plan
Body
ErrorResponse
404Status 404
Scheduler can’t be found
Body
ErrorResponse
500Status 500
Server error - something went wrong on server side
Body
ErrorResponse

Remove the association between a Task and a Schedule

DELETE /orchestration/executables/tasks/{taskId}/schedule

Unassign a schedule to a Task. Once unassigned no further scheduled execution will happen. Your task would still be executed through direct calls (UI or API) or within some plan.

User should be TMC_OPERATOR and have EXECUTOR Permission on the workspace this task belongs to.

Request

Path variables
NameDescriptionTypeAttributes and examples
taskIdstring Required

Response

204Status 204
Schedule link has been successfully removed
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden - no permissions to access resource
Body
ErrorResponse
404Status 404
Task not found
Body
ErrorResponse
500Status 500
Server error - something went wrong on server side
Body
ErrorResponse

Associate a schedule to a Plan.

PUT /orchestration/executables/plans/{planId}/schedule
Apply a schedule to the run configuration of this Plan. When some trigger is already in run-config for this plan, the new schedule object will be replacing it. User should be TMC_OPERATOR and have EXECUTOR Permission on the workspace this plan belongs to.

Request

Path variables
NameDescriptionTypeAttributes and examples
planIdstring Required
Body
Object
NameDescriptionTypeAttributes and examples
scheduleIdId of the schedule to associate with the planstring Required

Response

200Status 200
The Scheduler has been associated to the Plan
400Status 400
Configuration error to associate the schedule to a plan.
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Schedule is already associated with some task or plan
Body
ErrorResponse
404Status 404
Scheduler can’t be found
Body
ErrorResponse
500Status 500
Server error - something went wrong on server side
Body
ErrorResponse

Retrieve plan schedule

GET /orchestration/executables/plans/{planId}/schedule

Retrieve any Schedule definition associated to the Plan.

User should be TMC_OPERATOR and have VIEW Permission on the workspace this plan belongs to.

Request

Path variables
NameDescriptionTypeAttributes and examples
planIdstring Required

Response

200Status 200
Successful response
Body
Schedule
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden - no permissions to access resource
Body
ErrorResponse
404Status 404
no schedule associated to the plan
Body
ErrorResponse
500Status 500
Server error - something went wrong on server side
Body
ErrorResponse

Remove the association between the Schedule and the Plan

DELETE /orchestration/executables/plans/{planId}/schedule
Unassign a schedule to a Plan. Once unassigned no further scheduled execution will happen. Your plan would still be executed through direct calls (UI or API). User should be TMC_OPERATOR and have EXECUTOR Permission on the workspace this plan belongs to.

Request

Path variables
NameDescriptionTypeAttributes and examples
planIdstring Required

Response

204Status 204
The Schedule has been removed from the Plan
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden - no permissions to access resource
Body
ErrorResponse
404Status 404
Plan not found
Body
ErrorResponse
500Status 500
Server error - something went wrong on server side
Body
ErrorResponse

Tasks

Webhook

Object
NameDescriptionTypeAttributes and examples
nameWebhook namestring Required
descriptionWebhook descriptionstring Optional
triggerCallsEndpoint call count to run task|planinteger Optional
INT64
triggerTimeoutTime after which the task will starts from the moment the endpoint is first calledinteger Optional
INT64
runAsUserThe user on behalf of whom the task will be launchedstring Optional
newUrlIndicates whether to generate new urlboolean Optional
urlWebhook urlstring Optional
executionTimeoutTime after which the task execution will be terminated on timeoutinteger Optional
runAsUserTypeThe type of user on behalf of whom the task will be launched (HUMAN or SERVICE)string Optional

Trigger

Object
NameDescriptionTypeAttributes and examples
typeType of schedulestring Required
intervalInterval between task/plan running in days/weeks/months, required only if type of schedule is not equal to ‘ONCE’)integer Optional
INT32
startDateDate when the task should start to runstring Required
startTimeTime when the schedule should start to be activestring Optional
timeZoneTime zone for task schedulestring Required
atTimesTimeSchedule Optional
atDaysDaySchedule Optional
webhookWebhook Optional
cronExpressionCron expression as stringstring Optional

TimeSchedule

Object
NameDescriptionTypeAttributes and examples
typeType of schedule at timesstring Required
timesarray of string Optional
Datatype details
TypeDescriptionAttributes and examples
arrayTimestamps to run task/plan, required only if type of schedule at times equal to AT_SPECIFIC_TIMES
string
timeTimestamp to run task/plan, required only if type of schedule at times equal to AT_TIMEstring Optional
startTimeInterval start timestamp, required only if type of schedule at times equal to AT_INTERVALSstring Optional
endTimeInterval end timestamp, required only if type of schedule at times equal to AT_INTERVALSstring Optional
intervalDuration of interval in minutes, required only if type of schedule at times equal to AT_INTERVALSinteger Optional
INT32

TaskV21

Object
NameDescriptionTypeAttributes and examples
idId of taskstring Required
nameName of taskstring Required
descriptionTask descriptionstring Optional
workspaceWorkspaceInfo Required
versionTask versionstring Required
artifactBaseArtifactVersion Required
tagsarray of string Optional
Datatype details
TypeDescriptionAttributes and examples
arrayTask tags
string
connectionsTask connections. Array of key-value pairs with string key that represents connection name and string value with connection id.ObjectOptional
parametersTask parameters. Array of key-value pairs with string key that represents parameter name and string value of parameter.ObjectOptional
resourcesTask resources. Array of key-value pairs with string key that represents resource name and string value with id of resource.ObjectOptional
autoUpgradeInfoAutoUpgradeInfo Optional
taskPauseDetailsTaskPauseDetails Optional

TaskRunConfig

Object
NameDescriptionTypeAttributes and examples
triggerTrigger Required
runtimeRuntime Required
parallelExecutionAllowedIndicates whether this executable is allowed to run in parallel. ‘false’ by defaultboolean Optional
logLevelExecution log level. ‘WARN’ by defaultstring Optional
remoteRunAsUserRemote run userstring Optional
timeoutExecution timeout in minutes. Minimal value is 1. Only available for CE and RE 2.12.2 and onwards.integer Optional
INT32
deploymentStrategyDeployment strategy for Route or Data Service jobs that run on Remote Engine Clusterstring Optional
PARALLEL
lineage

Activates or deactivates the data lineage feature.

Data integration Jobs published from Talend Studio to Talend Management Console can generate input and output datasets and lineage information. This information can be sent to Qlik Cloud.

You can then view the data lineage, which tracks transformations back to the original source.

Accepted values:

  • true
  • false
boolean Optional
microservicePortSpecifies microservice port for Routes.string Optional

TaskV21CreateRequest

Object
NameDescriptionTypeAttributes and examples
workspaceIdWorkspace id of task to createstring Required
nameTask namestring Required
descriptionTask descriptionstring Optional
tagsarray of string Optional
Datatype details
TypeDescriptionAttributes and examples
arrayTask tags
string
connectionsTask connections. Array of key-value pairs with string key that represents the connection’s application name and string value with connection id.ObjectOptional
parametersTask parameters. Array of key-value pairs with string key that represents parameter name and string value. Value can accept both string and numeric data. Value is retrieved as string on GET task.ObjectOptional
resourcesTask resources. Array of key-value pairs with string key that represents resource name and string value with resource id.ObjectOptional
artifactArtifactRequest Required
autoUpgradeInfoAutoUpgradeInfo Optional
environmentIdEnvironment id of task to createstring Required
TaskV21CreateRequest
{
  "artifact": {
    "id": "5c1111d7a4186a4eafed0587",
    "version": "0.1.0"
  },
  "autoUpgradeInfo": {
    "autoUpgradable": true,
    "overrideWithDefaultParameters": true
  },
  "connections": {
    "aws": "5d405e381f40e07fbab6757c",
    "googledrive": "5d405e831f40e07fbab6757d"
  },
  "tags": ["tag1","tag2"],
  "description": "Task detail description",
  "environmentId": "5d7a3d082d909b386943787e",
  "name": "Hello world task",
  "parameters": {
    "custom_parameter": "custom",
    "parameter_p1": "1111"
  },
  "resources": {
    "resource_file_f1": "5d84adcf38907f16498d5d74"
  },
  "workspaceId": "57f64991e4b0b689a64feed2"
}

TaskUpdateRequest

Object
NameDescriptionTypeAttributes and examples
latestArtifactupdate task with latest artifact (Route and Data Service are not supported)boolean Optional
forceUpdateforce update task with latest artifact even if autoUpgradeInfo.autoUpgradable is falseboolean Optional
TaskUpdateRequest
{
    "latestArtifact": true,
    "forceUpdate": true
}

TaskFiltersRequest

Object
NameDescriptionTypeAttributes and examples
nameName of task (works as a “contains” filter)string Optional
environmentIdEnvironment ID of taskstring Optional
workspaceIdWorkspace ID of taskstring Optional
limitPage size, range 0 - 100.integer Optional
INT32
offsetPagination offset, default “0”integer Optional
INT32
artifactIdArtifact IDstring Optional
runtimeTypeRuntime type, valid runtime types are: REMOTE_ENGINE, PIPELINE_ENGINE, REMOTE_ENGINE_CLUSTER, CLOUD, CLOUD_EXCLUSIVEstring Optional
runtimeIdRuntime IDstring Optional
runtimeRunProfileIdRuntime Run Profile ID, cannot be used without runtimeType filterstring Optional
tagsarray of string Optional
Datatype details
TypeDescriptionAttributes and examples
arrayTags associated with tasks. When multiple tag values provided all those will be applied with logical AND
string
triggerTypeAllow to filter according to trigger type applied to tasksstring Optional
TaskFiltersRequest
{
  "name": "task1",
  "environmentId": "57f64991e4b0b689a64feed3",
  "workspaceId": "57f64991e4b0b689a64feed2",
  "limit": 100,
  "offset": 0,
  "artifactId": "6268e173f8e37317777bf329",
  "runtimeType": "CLOUD",
  "runtimeId": "6267aca881b6d25f2cc6b6a2",
  "runtimeRunProfileId": "6268e441f8e37317777bf32d"
  "tags": [
    "tag1",
    "tag2"
  ],
"triggerType": "daily"
}

TaskExtract

Object
NameDescriptionTypeAttributes and examples
executablestring Required
namestring Required
workspaceObjectRequired
NameDescriptionTypeAttributes and examples
idstring Required
namestring Required
descriptionWorkspace descriptionstring Optional
ownerstring Required
typestring Required
environmentObjectRequired
NameDescriptionTypeAttributes and examples
idstring Required
namestring Required
descriptionenvironment descriptionstring Optional
defaultboolean Required
artifactIdstring Required
runtimeObjectOptional
NameDescriptionTypeAttributes and examples
idruntime idstring Optional
typestring Optional
runProfileIdRuntime Run Profile Idstring Optional
TaskExtract
{
      "executable": "626bd984522077546b230083",
      "name": "job1",
      "workspace": {
        "id": "6267aca881b6d25f2cc6b6a5",
        "name": "Personal",
        "owner": "admin",
        "type": "personal",
        "environment": {
          "id": "6267aca881b6d25f2cc6b6a2",
          "name": "default",
          "default": true
        }
      },
      "artifactId": "6268e173f8e37317777bf329",
      "runtime": {
        "type": "CLOUD"
      }
    }

PageTask

Object
NameDescriptionTypeAttributes and examples
itemsarray of TaskExtract Required
Datatype details
TypeDescriptionAttributes and examples
array
TaskExtract
limitinteger Required
INT32
offsetinteger Required
INT32
totalinteger Required
INT32

DaySchedule

Object
NameDescriptionTypeAttributes and examples
typeType of schedule at daysstring Required
dayDay of month to run task/plan, required only if type of schedule at days is equal to DAY_OF_MONTHinteger Optional
INT32
daysarray of string Optional
Datatype details
TypeDescriptionAttributes and examples
arrayList of days of week to run task/plan, required only if type of schedule at days is equal to DAY_OF_WEEK
string

AutoUpgradeInfo

Object
NameDescriptionTypeAttributes and examples
autoUpgradableIndicates whether to automatically upgrade task after publishing new artifact versionboolean Optional
overrideWithDefaultParametersIndicates whether to override task parameters with artifact default parameters during auto upgradeboolean Optional
AutoUpgradeInfo
{
  "autoUpgradable": true,
  "overrideWithDefaultParameters": true
}

ScheduledEventsResponse

Object
NameDescriptionTypeAttributes and examples
idThe entity’s id for this eventstring Required
sourceTriggerNameThe source trigger’s name (only for schedule for multiple triggers)string Required
dateThe Trigger’s date for the eventdatetime Required
RFC3339
typeThe entity’s type for the event, should be one of the following: “TASK”, “PLAN”string Required

PageScheduledEventsResponse

Object
NameDescriptionTypeAttributes and examples
itemsarray of ScheduledEventsResponse Required
Datatype details
TypeDescriptionAttributes and examples
array
ScheduledEventsResponse
limitinteger Required
INT32
offsetinteger Required
INT32
totalinteger Optional
INT32

ScheduledEventsRequestRuntime

Object
NameDescriptionTypeAttributes and examples
typeType of runtime, should be one of the following: “CLOUD”, “REMOTE_ENGINE”, “REMOTE_ENGINE_CLUSTER”, “CLOUD_EXCLUSIVE”, “PIPELINE_ENGINE”string Optional
idRuntime idstring Optional

ScheduledEventsRequest

Object
NameDescriptionTypeAttributes and examples
environmentIdEnvironment idstring Required
workspaceIdsarray of string Optional
Datatype details
TypeDescriptionAttributes and examples
arrayWorkspace ids. If empty, will return events for all workspaces in the environment
string
fromFrom date time (milliseconds). Default value - nowinteger Optional
INT64
toTo date time (milliseconds)integer Required
INT64
tagsarray of string Optional
Datatype details
TypeDescriptionAttributes and examples
arrayTags
string
runtimeScheduledEventsRequestRuntime Optional
limitThe number of items to return. Must be in range [1, 100]. Default value - 100integer Optional
INT32
offsetThe position of the first item. Must be greater than or equal to 0. Default value - 0integer Optional
INT32

TaskPauseDetails

Holds the definition of a Task Pause / Resume
Object
NameDescriptionTypeAttributes and examples
pauseboolean Required
pauseContextstring Optional
userUser that took the action to pausestring Optional
userTypeUserType Optional
pauseDateDate time when this pause starteddatetime Optional
RFC3339
TaskPauseDetails
{
  "pause": true,
  "pauseContext": "Pausing task execution",
  "pauseDate": "2023-01-13T14:42:58.341Z",
  "user": "admin",
  "userType": "HUMAN"
 }

DETaskRunConfig

Task run configuration used for dynamic engine processor
Object
NameDescriptionTypeAttributes and examples
parallelExecutionAllowedIndicates whether this executable is allowed to run in parallel. ‘false’ by defaultboolean Optional
logLevelExecution log level. ‘WARN’ by defaultstring Optional
timeoutExecution timeout in minutes. Minimal value is 1.integer Optional
INT32
runProfileIdThe dynamic engine run profile idstring Optional
trigger

Configures the webhook for tasks in Dynamic Engine environments.

Accepted values:

  • MANUAL: Use this option to manually trigger a task.
  • WEBHOOK: Use this option to trigger tasks automatically with a webhook.
Trigger Required
lineage

Activates or deactivates the data lineage feature.

Data integration Jobs published from Talend Studio to Talend Management Console can generate input and output datasets and lineage information. This information can be sent to Qlik Cloud.

You can then view the data lineage, which tracks transformations back to the original source.

Accepted values:

  • true
  • false
boolean Optional

Create Task

POST /orchestration/executables/tasks
Create Task. By default the created task will have ‘CLOUD’ as its execution environment

Request

Body
TaskV21CreateRequest

Response

201Status 201
Created
Body
TaskV21
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Get available Tasks

GET /orchestration/executables/tasks
Get available Tasks

Request

Query parameters
NameDescriptionTypeAttributes and examples
environmentIdenvironment idstring Optional
offsetthe position of the first item. Must be greater than or equal to 0. Default value - 0integer Optional
INT32
runtimeRunProfileIdruntime run profile idstring Optional
runtimeTyperuntime typestring Optional
workspaceIdworkspace idstring Optional
nametask name filterstring Optional
limitthe number of items to return. Must be in range [1, 100]. Default value - 100integer Optional
INT32
runtimeIdruntime idstring Optional
artifactIdartifact idstring Optional

Response

200Status 200
OK
Body
PageTask
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Update Task

PUT /orchestration/executables/tasks/{taskId}
Update Task

Request

Path variables
NameDescriptionTypeAttributes and examples
taskIdtask idstring Required
Body
TaskAutoUpgradeRequest

Response

200Status 200
OK
Body
TaskV21
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Update Task partially

PATCH /orchestration/executables/tasks/{taskId}
Update task configuration according to the parameters provided in the request body

Request

Path variables
NameDescriptionTypeAttributes and examples
taskIdtask idstring Required
Body
TaskUpdateRequest

Response

204Status 204
Task updated successfully
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden - no permissions to access resource
Body
ErrorResponse
404Status 404
Not found - resource not found
Body
ErrorResponse
500Status 500
Server error - something went wrong on server side
Body
ErrorResponse

Delete Task

DELETE /orchestration/executables/tasks/{taskId}
Delete Task

Request

Path variables
NameDescriptionTypeAttributes and examples
taskIdtask idstring Required

Response

204Status 204
No Content
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
409Status 409
Conflict
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Get Task by id

GET /orchestration/executables/tasks/{taskId}
Get Task by id

Request

Path variables
NameDescriptionTypeAttributes and examples
taskIdtask idstring Required

Response

200Status 200
OK
Body
TaskV21
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Get Task configuration

GET /orchestration/executables/tasks/{taskId}/run-config

Get Task configuration currently applied. Please take note :

  • the Trigger definition can now have some new value ‘Multiple’ defined when you link your task to some Multiple Time Trigger schedule.
  • whenever such multiple trigger schedule is linked please use the new dedicated endpoints to manage this specific scheduling configuration.

Request

Path variables
NameDescriptionTypeAttributes and examples
taskIdtask idstring Required

Response

200Status 200
OK
Body
TaskRunConfig
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Configure Task executions

PUT /orchestration/executables/tasks/{taskId}/run-config
Configure Task regarding executions. User must be granted TMC_OPERATOR permission Timeout default value can be set as option : it would apply for terminating all executions of this task whose duration exceeds the time out provided in minutes. Accuracy is about 10s. Please note that this capability is available for CE, REC and RE version 2.12.2 and onwards.

Request

Path variables
NameDescriptionTypeAttributes and examples
taskIdtask idstring Required
Body
TaskRunConfig

Response

200Status 200
OK
Body
TaskRunConfig
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Stop schedule for Task

DELETE /orchestration/executables/tasks/{taskId}/run-config
Stop schedule for task

Request

Path variables
NameDescriptionTypeAttributes and examples
taskIdtask idstring Required

Response

204Status 204
No Content
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Configure Task executions for dynamic engine

PUT /orchestration/executables/tasks/{taskId}/de-run-config

Configure how tasks are executed on Dynamic Engines.

  • Permission required: TMC_OPERATOR.
  • Timeout option: Set a default timeout value (in minutes) to terminate task executions that exceed this duration. Note: Accuracy is within 10 seconds.

Request

Path variables
NameDescriptionTypeAttributes and examples
taskIdtask idstring Required
Body
DETaskRunConfig

Response

200Status 200
OK
Body
DETaskRunConfig
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Stop schedule for Task for dynamic engine

DELETE /orchestration/executables/tasks/{taskId}/de-run-config
Stop the schedule for a given task.

Request

Path variables
NameDescriptionTypeAttributes and examples
taskIdtask idstring Required

Response

204Status 204
No Content
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Get Task configuration for dynamic engine

GET /orchestration/executables/tasks/{taskId}/de-run-config
Get Task configuration for dynamic engine currently applied.

Request

Path variables
NameDescriptionTypeAttributes and examples
taskIdtask idstring Required

Response

200Status 200
OK
Body
DETaskRunConfig
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Get task scheduled triggers

GET /orchestration/executables/tasks/{taskId}/run-config/events
Get task triggers for cron schedules

Request

Path variables
NameDescriptionTypeAttributes and examples
taskIdstring Required
Query parameters
NameDescriptionTypeAttributes and examples
offsetthe position of the first item. Must be greater than or equal to 0. Default value - 0integer Optional
INT32
toto date time (milliseconds)integer Required
INT64
limitthe number of items to return. Must be in range [1, 100]. Default value - 100integer Optional
INT32
fromfrom date time (milliseconds)integer Optional
INT64

Response

200Status 200
OK
Body
PageEvents
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Get scheduled executions

POST /orchestration/executables/events/search
Get scheduled executions of all types

Request

Body
ScheduledEventsRequest

Response

200Status 200
OK
Body
PageScheduledEventsResponse
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Search tasks

POST /orchestration/executables/tasks/search

Search Tasks according to some filters:

  • name
  • environment id
  • workspace id
  • artifact id
  • runtime type
  • runtime id
  • runtime runprofile id
  • tags
  • trigger type

All those parameters are optional and can be combined at your convenience, apart from Environment and Workspace which are exclusive (ie you should not provide both in a same call)

Request

Body
TaskFiltersRequest

Response

200Status 200
Successful response
Body
PageTask
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden
Body
ErrorResponse
404Status 404
Not Found
Body
ErrorResponse
500Status 500
Internal Server Error
Body
ErrorResponse

Pause / Resume a Task

PUT /orchestration/executables/tasks/{taskId}/pause
Allow to pause or resume a Task. When pausing a task all current executions will be completed, all new executions requests will be discarded, including scheduled, manual (through TMC or API) and webhook ones. When resuming a task all triggers (cron, webhook, etc.) will be reactivated, all new executions requests will be accepted again.

Request

Path variables
NameDescriptionTypeAttributes and examples
taskIdstring Required
Body
TaskPauseDetails

Response

202Status 202
Successful response - Accepted (work is done in background)
204Status 204
Nothing Change
400Status 400
Bad Request
Body
ErrorResponse
401Status 401
Unauthorized
Body
ErrorResponse
403Status 403
Forbidden - no permissions to access resource
Body
ErrorResponse
404Status 404
Not found - resource not found
Body
ErrorResponse
500Status 500
Server error - something went wrong on server side
Body
ErrorResponse

Common

Runtime

Object
NameDescriptionTypeAttributes and examples
typeType of runtimestring Optional
idTarget runtime id, either Remote engine id or Remote engine cluster id Empty for cloud enginesstring Optional
engineIdRemote engine id used for executionstring Optional
clusterIdRemote engine cluster id used for executionstring Optional
runProfileIdRun profile id of Remote engine or Remote engine clusterstring Optional

BaseArtifactVersion

Object
NameDescriptionTypeAttributes and examples
idId of artifactstring Required
nameName of artifactstring Optional
versionArtifact versionstring Required

ErrorResponse

Error response object
Object
NameDescriptionTypeAttributes and examples
statusHTTP status codeinteger Required
messageInfo about error for user.string Optional
detailInfo about error for developer.string Optional
requestIdThe unique identification of the request involved with this errorstring Optional

PageEvents

Object
NameDescriptionTypeAttributes and examples
itemsarray of datetime Optional
Datatype details
TypeDescriptionAttributes and examples
array
datetime
RFC3339
limitinteger Optional
INT32
offsetinteger Optional
INT32
totalinteger Optional
INT32

UserType

string

UnauthorizedErrorResponse

Object
NameDescriptionTypeAttributes and examples
statusStatus codeinteger Required
INT32
detailInformation about authentication errorstring Required
back to top↑