/processes/{id}/flow [ GET ]

Get process in flow context. The response returns a sub-tree of the whole flow containing the requested process, its direct children processes, and all ancestors. You can navigate within the flow backword and forward by running this call on the children or ancestors of a given process.


URL Parameters

Name Optional Valid values
id No Identifier of an existing process (e.g. GDSWtBEHqIw)


Request Examples      

curl -k -u admin:admin https://OPERETOHOST/processes/wOS8h3lTvUW/flow

        

Response Examples         

{
  "status": "success",
  "data": [
    {
      "is_parent": true,
      "title": "Execution of integration test process",
      "children": [
        {
          "is_pivot": true,
          "is_parent": true,
          "title": "test sharded DB",
          "children": [
            {
              "title": "uninstall sut",
              "summary": "",
              "duration": "0:03:02",
              "s_version": "default",
              "agent_id": "execution-server-3",
              "service_id": "cluster_uninstall",
              "service_type": "fixture",
              "actual_version": "default",
              "id": "66hqcZeU4s5",
              "exec_status": "success"
            },
            {
              "title": "install sut",
              "summary": "",
              "duration": "0:02:03",
              "s_version": "default",
              "agent_id": "execution-server-2",
              "service_id": "cluster_install",
              "service_type": "fixture",
              "actual_version": "default",
              "id": "MxhnT6dUdF6",
              "exec_status": "success"
            }
          ],
          "summary": "",
          "duration": "0:07:45",
          "s_version": "default",
          "agent_id": "",
          "service_id": "test_flow_container",
          "service_type": "container",
          "actual_version": "default",
          "id": "8DSwF8qhDfV",
          "exec_status": "failure"
        }
      ],
      "summary": "",
      "duration": "3:59:17",
      "s_version": "default",
      "agent_id": "",
      "service_id": "integration_test_cycle",
      "service_type": "cycle",
      "actual_version": "default",
      "id": "lzFVcr5CrsZ",
      "exec_status": "failure"
    }
  ]
}