Request for application flows example

The following is an example of a request for application flows and the JSON response.

Get flows for an application

GET /applications/{id}/flows

This API call returns all flows of a specific application revision.

To run it, provide a revision ID for an application, and it will return an array of JSON Flow (see Flow ) objects.

Flow is a complex JSON object that contains reference to other JSON objects, such as NetworkObject (see NetworkObject ).

CURL Request example:

curl -u admin:algosec -k https://10.20.1.1/BusinessFlow/rest/v1/applications/ 238/flows

Back to top

Get flows response

The curl call produces the following JSON output:

[  
{
    
 "flowID":3282,
     
 "name":"7",
     
  "connectivityStatus":"None",
     
  "comment":"",
      …

The output includes all relevant information on the application’s flows.

Back to top