Manages Singularity tasks.
Retrieve statistics about a specific active task.
path
Parameter | Required | Description | Data Type |
---|---|---|---|
taskId | true | string |
Status Code | Reason | Response Model |
---|---|---|
- | - | - |
Post metadata about a task that will be persisted along with it and displayed in the UI
path
Parameter | Required | Description | Data Type |
---|---|---|---|
taskId | true | string | |
body |
Parameter | Required | Description | Data Type |
---|---|---|---|
body | false | SingularityTaskMetadataRequest |
Status Code | Reason | Response Model |
---|---|---|
400 | Invalid metadata object or doesn't match allowed types | - |
404 | Task doesn't exist | - |
409 | Metadata with this type/timestamp already existed | - |
Run a configured shell command against the given task
path
Parameter | Required | Description | Data Type |
---|---|---|---|
taskId | true | string | |
body |
Parameter | Required | Description | Data Type |
---|---|---|---|
body | false | SingularityShellCommand |
SingularityTaskShellCommandRequest
Status Code | Reason | Response Model |
---|---|---|
400 | Given shell command option doesn't exist | - |
403 | Given shell command doesn't exist | - |
Get the cleanup object for the task, if it exists
path
Parameter | Required | Description | Data Type |
---|---|---|---|
taskId | true | string |
Status Code | Reason | Response Model |
---|---|---|
- | - | - |
Retrieve information about a specific active task.
path
Parameter | Required | Description | Data Type |
---|---|---|---|
taskId | true | string |
Status Code | Reason | Response Model |
---|---|---|
- | - | - |
Attempt to kill task, optionally overriding an existing cleanup request (that may be waiting for replacement tasks to become healthy)
path
Parameter | Required | Description | Data Type |
---|---|---|---|
taskId | true | string | |
body |
Parameter | Required | Description | Data Type |
---|---|---|---|
body | false | SingularityKillTaskRequest |
Status Code | Reason | Response Model |
---|---|---|
409 | Task already has a cleanup request (can be overridden with override=true) | - |
Retrieve information about a pending task.
path
Parameter | Required | Description | Data Type |
---|---|---|---|
pendingTaskId | true | string |
Status Code | Reason | Response Model |
---|---|---|
- | - | - |
Retrieve list of scheduled tasks for a specific request.
path
Parameter | Required | Description | Data Type |
---|---|---|---|
requestId | true | string | |
query |
Parameter | Required | Description | Data Type |
---|---|---|---|
useWebCache | false | boolean |
Status Code | Reason | Response Model |
---|---|---|
- | - | - |
Retrieve list of scheduled task IDs.
query
Parameter | Required | Description | Data Type |
---|---|---|---|
useWebCache | false | boolean |
UNKNOWN[SingularityPendingTaskId]
Status Code | Reason | Response Model |
---|---|---|
- | - | - |
Retrieve list of scheduled tasks.
query
Parameter | Required | Description | Data Type |
---|---|---|---|
useWebCache | false | boolean |
Status Code | Reason | Response Model |
---|---|---|
- | - | - |
Retrieve the list of tasks being cleaned from load balancers.
- No parameters
Status Code | Reason | Response Model |
---|---|---|
- | - | - |
Retrieve the list of killed tasks.
- No parameters
UNKNOWN[SingularityKilledTaskIdRecord]
Status Code | Reason | Response Model |
---|---|---|
- | - | - |
Retrieve the list of cleaning tasks.
query
Parameter | Required | Description | Data Type |
---|---|---|---|
useWebCache | false | boolean |
UNKNOWN[SingularityTaskCleanup]
Status Code | Reason | Response Model |
---|---|---|
- | - | - |
Retrieve list of active tasks on a specific slave.
path
Parameter | Required | Description | Data Type |
---|---|---|---|
slaveId | true | string | |
query |
Parameter | Required | Description | Data Type |
---|---|---|---|
useWebCache | false | boolean |
Status Code | Reason | Response Model |
---|---|---|
- | - | - |
Retrieve the list of active tasks.
query
Parameter | Required | Description | Data Type |
---|---|---|---|
useWebCache | false | boolean |
Status Code | Reason | Response Model |
---|---|---|
- | - | - |