curl --request POST \
--url https://api.getcargo.io/v1/orchestration/releases/deployDraft \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"workflowUuid": "<string>",
"version": "<string>",
"nodes": [
{
"uuid": "<string>",
"slug": "<string>",
"config": {},
"childrenUuids": [
"<string>"
],
"fallbackOnFailure": true,
"position": {
"x": 123,
"y": 123
},
"kind": "native",
"actionSlug": "<string>",
"name": "<string>",
"description": "<string>",
"retry": {
"maximumAttempts": 123,
"initialInterval": 123,
"backoffCoefficient": 123
},
"fallbackChildUuid": "<string>"
}
],
"formFields": [
{
"slug": "<string>",
"name": "<string>",
"kind": "string",
"description": "<string>",
"isRequired": true
}
],
"description": "<string>",
"options": {
"connectorUuidsByIntegrationSlug": {},
"modelUuidsByIntegrationSlug": {}
}
}
'{
"release": {
"uuid": "<string>",
"parentUuid": "<string>",
"workspaceUuid": "<string>",
"userUuid": "<string>",
"workflowUuid": "<string>",
"description": "<string>",
"version": "<string>",
"status": "draft",
"templateSlug": "<string>",
"nodes": [
{
"uuid": "<string>",
"slug": "<string>",
"config": {},
"childrenUuids": [
"<string>"
],
"fallbackOnFailure": true,
"position": {
"x": 123,
"y": 123
},
"kind": "native",
"actionSlug": "<string>",
"name": "<string>",
"description": "<string>",
"retry": {
"maximumAttempts": 123,
"initialInterval": 123,
"backoffCoefficient": 123
},
"fallbackChildUuid": "<string>"
}
],
"formFields": [
{
"slug": "<string>",
"name": "<string>",
"kind": "string",
"description": "<string>",
"isRequired": true
}
],
"testRecords": [
{
"kind": "<string>",
"id": "<string>",
"data": {}
}
],
"deployedAt": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"deletedAt": "<string>"
}
}Deploy a draft release
curl --request POST \
--url https://api.getcargo.io/v1/orchestration/releases/deployDraft \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"workflowUuid": "<string>",
"version": "<string>",
"nodes": [
{
"uuid": "<string>",
"slug": "<string>",
"config": {},
"childrenUuids": [
"<string>"
],
"fallbackOnFailure": true,
"position": {
"x": 123,
"y": 123
},
"kind": "native",
"actionSlug": "<string>",
"name": "<string>",
"description": "<string>",
"retry": {
"maximumAttempts": 123,
"initialInterval": 123,
"backoffCoefficient": 123
},
"fallbackChildUuid": "<string>"
}
],
"formFields": [
{
"slug": "<string>",
"name": "<string>",
"kind": "string",
"description": "<string>",
"isRequired": true
}
],
"description": "<string>",
"options": {
"connectorUuidsByIntegrationSlug": {},
"modelUuidsByIntegrationSlug": {}
}
}
'{
"release": {
"uuid": "<string>",
"parentUuid": "<string>",
"workspaceUuid": "<string>",
"userUuid": "<string>",
"workflowUuid": "<string>",
"description": "<string>",
"version": "<string>",
"status": "draft",
"templateSlug": "<string>",
"nodes": [
{
"uuid": "<string>",
"slug": "<string>",
"config": {},
"childrenUuids": [
"<string>"
],
"fallbackOnFailure": true,
"position": {
"x": 123,
"y": 123
},
"kind": "native",
"actionSlug": "<string>",
"name": "<string>",
"description": "<string>",
"retry": {
"maximumAttempts": 123,
"initialInterval": 123,
"backoffCoefficient": 123
},
"fallbackChildUuid": "<string>"
}
],
"formFields": [
{
"slug": "<string>",
"name": "<string>",
"kind": "string",
"description": "<string>",
"isRequired": true
}
],
"testRecords": [
{
"kind": "<string>",
"id": "<string>",
"data": {}
}
],
"deployedAt": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"deletedAt": "<string>"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful response
Show child attributes
Was this page helpful?