TaskMonitorService

POST /taskmonitor/control Find all active Control Tasks, optionally filtered by parameters.
POST /taskmonitor/deployment Find all active Deployment Tasks, optionally filtered by parameters.

POST /taskmonitor/control

Find all active Control Tasks, optionally filtered by parameters.
Headers
Content-Type application/json
Cookie <Cookie Value>
X-XSRF-TOKEN <X-XSRF-TOKEN>
Parameters
Query begin Date filter by time interval beginning with date
Query end Date filter by time interval ending with date
Query states List of String (Optional) filter task by task state
Query users List of String (Optional) filter tasks belonging to users
Query taskName String (Optional) filter by name of the task
Query taskId String (Optional) filter task with exact taskId
Query fetchMode FetchMode (Optional) toggle to fetch FULL task with blocks or just task SUMMARY
Query taskSet TaskSet filter by taskSet - MY or ALL
Request body application/xml Paging (Optional) Which page and how many results per page to retrieve
Query order List of Ordering (Optional) Which ordering to use when listing results
Query worker String (Optional) filter only specified workers
Request body application/xml List of String filter by selected target CI
Response body
Stream of TaskWithBlock - list of TaskWithBlock
Content type: application/xml

POST /taskmonitor/deployment

Find all active Deployment Tasks, optionally filtered by parameters.
Headers
Content-Type application/json
Cookie <Cookie Value>
X-XSRF-TOKEN <X-XSRF-TOKEN>
Parameters
Query begin Date filter by time interval beginning with date
Query end Date filter by time interval ending with date
Query states List of String (Optional) filter task by task state
Query users List of String (Optional) filter tasks belonging to users
Query types List of String (Optional) filter by task type - DEFAULT, INITIAL, ROLLBACK, UNDEPLOY, UPGRADE
Query taskId String (Optional) filter task with exact taskId
Query fetchMode FetchMode (Optional) toggle to fetch FULL task with blocks or just task SUMMARY
Query taskSet TaskSet filter by taskSet - MY or ALL
Query onlySuccessful boolean Deprecated use states instead
Request body application/xml Paging (Optional) Which page and how many results per page to retrieve
Query order List of Ordering (Optional) Which ordering to use when listing results
Query worker String (Optional) filter only specified workers
Request body application/xml List of ConfigurationItemId filter by list of CIs - environment and application correlated to the Deployment task
Response body
Stream of TaskWithBlock - list of TaskWithBlock
Content type: application/xml