This discovery page
http://127.0.0.1:port/path

Basic status monitor
http://127.0.0.1:port/monitor

About info
http://127.0.0.1:port/path/about

#Title: Workflow(s) list
#Description: Get short list all available workflow(s)
#Method: GET
#URI:http://127.0.0.1:port/path/workflows/<wf_id>

#Response: 200 OK
#Content-Type:application/json; charset=utf-8
#Body:JSON

#Title: User variables in a workflow
#Description: Get a list of user variables found in a workflow.
#Method: GET
#URI:http://127.0.0.1:port/path/workflows/<wf_id>/user_variables

#Response: 200 OK
#Content-Type:application/json; charset=utf-8
#Body:JSON

#Title: User variables and statics
#Description: Get a list of available user variables and statics in current FFAStrans database.
#Method: GET
#URI:http://127.0.0.1:port/path/variables

#Response: 200 OK
#Content-Type:application/json; charset=utf-8
#Body:JSON

#Title: Job(s) status
#Description: Get the status of currently running job(s).
#Method: GET
#URI:http://127.0.0.1:port/path/jobs/<job_id>

#Response: 200 OK
#Content-Type:application/json; charset=utf-8
#Body:JSON

#Title: History log
#Description: Retrieve the history log of the last 200 items processed and their outcome.
#Method: GET
#URI:http://127.0.0.1:port/path/history

#Response: 200 OK
#Content-Type:application/json; charset=utf-8
#Body:JSON

#Title: Job log
#Description: Retrieve log in form of JSON (if available). Start and count GET params to define the line numbers you want to retrieve. If start and count is omitted, the 300 first lines are served.
#Method: GET
#URI:http://127.0.0.1:port/path/joblog/<job_id>?start=0&count=100

#Response: 200 OK
#Content-Type:application/json; charset=utf-8
#Body:JSON

#Title: Presets
#Description: Get the list of available presets.
#Method: GET
#URI:http://127.0.0.1:port/path/presets

#Response: 200 OK
#Content-Type:application/json; charset=utf-8
#Body:JSON

#Title: Submit job
#Description: Submit a file to a workflow. "start_proc" is optional but lets you choose a spesific node to submit the file to. The "Variables" are optional but lets you inject data to the specified variables used by the workflow. Available user variables are obtained from /workflows/<workflow id>/user_variables.
#Method: POST
#Content-Type:application/json
#URI: http://127.0.0.1:port/path/jobs/<job_id>
#Body:JSON
{

"wf_id": "<workflow id>",
"inputfile": "<full path to file>",
"start_proc": "<processor node id>",
"variables": [

{
"name": "<s_string>",
"data": "<string>"
}, {
"name": "<i_string>",
"data": <integer>
}, {
"name": "<f_string>",
"data": <number>
}

]

}

#Response: 202 Accepted
#Content-Type:application/json; charset=utf-8
#Body:JSON
{

"uri": "<url to the job>",
"job_id": "<identifier for the job>"

}

#Name: Change workflow state
#Description: Change the state of workflow(s): "start", "stop", "enable" or "disable".
#Method: PUT
#Content-Type:application/json
#URI: http://127.0.0.1:port/path/workflows/<wf_id>
#Body:JSON
{

"action": "<state>"

}

#Response: 202 Accepted

#Title: Abort job
#Description: Abort a job
#Method: DELETE
#URI: http://127.0.0.1:port/path/jobs/<job_id>

#Response: 202 Accepted
#Content-Type:application/json; charset=utf-8
#Body:JSON

#Name: Pause, resume and abort sub jobs
#Description: Set the sub job to pause, resume or queue to abort. Allowed states: "pause", "resume" or "abort". "split_id" defines what instance/sub/branch/split id of the job you want to pause/resume/abort. The same method can be used on finished jobs to either "retry" or "retry_fail" (retry at failed node).
#Method: PUT
#Content-Type:application/json
#URI: http://127.0.0.1:port/path/jobs/<job_id>
#Body:JSON
{

"action": "<state>",
"split_id": "<split identifier>"

}

#Response: 202 Accepted