Dirigent is running a simple web server on default port 8899, making Dirigent's features available also via the HTTP protocol.
returns a list of all appdefs as JSON [{'id':'m1.a'}, ...]
returns a list of a specific appdefs as JSON {'id':'m1.a'}
returns a list of the state of all apps as JSON [{'id':'m1.a', 'status':{'code':'Running', 'flags':'SIP'}}, ...]
returns a list of the state of given app as JSON {'id':'m1.a', 'status':{'code':'Running', 'flags':'SIP'}}
returns a list of all plandefs as JSON [{'name':'plan1', 'appDefs':[...]}, {'name':'plan2', 'appDefs':[...]}]
returns plandef of a single given plan as JSON {'name':'plan1', 'appDefs':[...]}
returns a list of the state of all plans as JSON [{'name':'plan1', 'status':{'code':'InProgress'}}, {'name':'plan2', status={'code':'None'}}]
returns a state of a single plan as JSON {'name':'plan1', 'status':{'code':'InProgress'}}
Executes a cli command sent as POST data; for example StartApp m1.a
Returns same response as from the CLI command (see CLI command reference), for example ACK