This discovery page
http://127.0.0.1:port/api/json/v1

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

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

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

#Title: Detailed workflow(s) configuration
#Description: Get detailed workflow(s) configuration.
#Method: GET
#URI:http://127.0.0.1:port/api/json/v1/workflows/details/<wf_id>

#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/api/json/v1/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/api/json/v1/history

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

#Title: Job(s) queue
#Description: Get the queue of jobs waiting to be started. Only jobs manually submitted via the FFAStrans manager or the this API is displayed.
#Method: GET
#URI:http://127.0.0.1:port/api/json/v1/queue/<job_id>

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

#Title: Templates
#Description: Get the list of templates.
#Method: GET
#URI:http://127.0.0.1:port/api/json/v1/templates

#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 variables are obtained from the workflows list uri.
#Method: POST
#Content-Type:application/json
#URI: http://127.0.0.1:port/api/json/v1/jobs/<job_id>
#Body:JSON
{

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

{
"name": "<s_string>",
"content": "<string>"
}, {
"name": "<i_string>",
"content": <integer>
}, {
"name": "<f_string>",
"content": <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 the workflow(s): start, stop, enable, disable
#Method: PUT
#Content-Type:application/json
#URI: http://127.0.0.1:port/api/json/v1/workflows/<wf_id>
#Body:JSON
{

"action": "<state>",

}

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

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