Oms API GET task sets - openmpp/openmpp.github.io GitHub Wiki
Get modeling task input sets: language-neutral part of task metadata.
Methods:
GET /api/model/:model/task/:task/sets
Arguments:
:model - (required) model digest or model name
Model can be identified by digest or by model name. It is recommended to use digest because it is uniquely identifies model. It is possible to use model name, which is more human readable than digest, but if there are multiple models with same name in database than result is undefined.
:task - (required) modeling task name
Task is uniquely identified by name (inside the model). Different models can have tasks with same name, i.e. each model can have task with name "My First Task".
Call examples from browser:
http://localhost:4040/api/model/modelOne/task/taskOne/sets
http://localhost:4040/api/model/_201208171604590148_/task/taskOne/sets
Return example:
{
"ModelName": "modelOne",
"ModelDigest": "_201208171604590148_",
"Name": "taskOne",
"Txt": [],
"Set": [
"Default",
"modelOne_other"
],
"TaskRun": []
}