Task System
Tasks for remote command execution
Task Actions
Task Action Examples
[
{
"idx": 0,
"actionType": "Download software build",
"requiredParams": {
"buildId": "The ID of the applicationBuild. Its build archive will be downloaded."
}
},
{
"idx": 1,
"actionType": "Extract software build",
"requiredParams": {
"buildId": "The ID of the applicationBuild. This action will extract the build archive that has been downloaded."
}
},
{
"idx": 2,
"actionType": "Stop instance",
"requiredParams": {
"methodId": "The ID of the stop-method, indicating how you want to stop the application instance.",
"timeout": "If the stop-method is graceful, you can indicate a maximum time to wait here, before the application instance is forcefully terminated."
}
},
{
"idx": 3,
"actionType": "Deploy software build to instance",
"requiredParams": {
"buildId": "The ID of the applicationBuild. This action expects the build archive to already have been downloaded and extracted onto the host."
}
},
{
"idx": 4,
"actionType": "Start instance",
"requiredParams": null
}
]Task Status (API example)
HTTP request
Request body
Response body
Property
Description
Task Result Codes
Task Batch
HTTP request
Request body
Response body
Property
Value type
Description
Cancelling a Task
Pausing a Task
Last updated
Was this helpful?