4.5 Retrieving All Workflows Status Information
To get status information for all workflows, use the following URL:
http://<platform-host>:<webinterface-port>/webapi/<version>/workflows
Example - All workflows status information
$ curl -X GET "http://localhost:9000/webapi/v1/workflows" -u mzadmin:dr
Response
See the following example of content that is included in the HTTP response:
Example - Response content including status information for all workflows
<workflows> <workflow> <source-file-left>-1</source-file-left> <key>MZ1290001265054_1</key> <name>Default.ftp.workflow_1</name> <state>IDLE_STATE</state> <manual-mode>false</manual-mode> </workflow> <workflow> <last-action-type>COMPLETED</last-action-type> <source-file-left>0</source-file-left> <key>MZ1290001112344_1</key> <name>Default.disk.workflow_1</name> <state>IDLE_STATE</state> <manual-mode>false</manual-mode> </workflow> </workflows>