Summary
Search Tasks
Description
Search Tasks with Options
Route
POST /workflow_engine/tasks/search
Roles
admin
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
filter |
object |
yes |
Search Filter |
options |
object |
yes |
expand, fields, query, local, limit, skip, sort |
Copied to Clipboard
{
"filter": {
"someFieldName": "Some Value to query the against the someFieldName property"
},
"options": {
"expand": [
"owner",
"owner",
"owner"
],
"fields": {
"name": 1
},
"query": {
"name": "abcd"
},
"limit": 50,
"local": false,
"skip": 0,
"sort": {
"name": -1
}
}
}
Return
DetailsExampleSchema
Name |
Type |
Description |
tasks |
object |
Search Results |
Copied to Clipboard
{
"results": [
{
"_id": "5cb7b531d06cceb89fd21b1c",
"job": {
"_id": "5cb7b531d06cceb89fd21b1c",
"task": "12ab",
"ancestors": [
"5cb7b531d06cceb89fd21b1c",
"5cb7b531d06cceb89fd21b1c",
"4321abcdef694aa79dae47ad",
"4321abcdef694aa79dae47ad",
"5cb7b531d06cceb89fd21b1c"
],
"name": "exercitation sunt",
"description": -75490275.5612517
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "Lorem deserunt dolor Duis sit"
},
{
"type": "encryption",
"pointer": "consequat"
},
{
"type": "encryption",
"pointer": "fugiat non sed anim Excepteur"
},
{
"type": "encryption",
"pointer": "nisi magna"
}
]
},
"name": true,
"summary": "ad ut",
"displayName": "in culpa aute quis",
"type": false,
"x": "nisi magna",
"y": -95376832.22264928,
"status": 29855423
}
],
"skip": 0,
"limit": 50,
"total": 100
}