Summary
Gets Tasks
Description
Search the Task collection.
Route
GET /operations-manager/tasks
Roles
Parameters
Name | Type | Required | Description |
---|---|---|---|
queryParameters | object | yes | The query parameters available for this method. |
{ "queryParameters": { "limit": 1, "skip": 1, "order": 1, "sort": "name", "include": "name", "exclude": "description", "in": "Ut commodo", "not-in": "minim nisi ullamco", "equals": "in ut elit amet", "contains": "Duis aute dolore commodo", "starts-with": "ut", "ends-with": "tempor commodo anim", "dereference": "irure in esse dolore quis", "gt": "voluptate officia dolor", "gte": "nulla dolor", "lt": "tempor Excepteur", "lte": "sed officia in", "q": "anim et pariatur incididunt sit", "actionableTasks": false } }
{ "type": "object", "properties": { "queryParameters": { "title": "queryParameters", "type": "object", "properties": { "limit": { "type": "integer", "description": "Number of results to return. Used for pagination.", "default": 25, "minimum": 0, "examples": [ 1, 10, 50 ] }, "skip": { "type": "integer", "description": "Number of results to skip. Used for pagination.", "default": 0, "minimum": 0, "examples": [ 1, 10, 50 ] }, "order": { "type": "integer", "description": "Sort direction, 1 for ascending and -1 for descending.", "default": 1, "enum": [ -1, 1 ] }, "sort": { "type": "string", "description": "Field to sort by", "default": "name", "enum": [ "name" ] }, "include": { "type": "string", "description": "Inclusive projection operator formatted as a comma-delineated list. '_id' will be included implicitly unless excluded with 'exclude=_id'. May only be used in conjunction with 'exclude' when 'exclude=_id'.", "examples": [ "name", "description", "name,description" ] }, "exclude": { "type": "string", "description": "Exclusive projection operator formatted as a comma-delineated list. May only be used in conjunction with 'include' when 'exclude=_id'.", "examples": [ "_id", "description", "_id,description" ] }, "in": { "description": "Search for fields exactly matching one of the given list options", "type": "string" }, "not-in": { "description": "Search for fields not exactly matching one of the given list options", "type": "string" }, "equals": { "description": "Returns results where the specified fields exactly match the given match string(s).", "type": "string" }, "contains": { "description": "Returns results where the specified fields contain the given match string(s).", "type": "string" }, "starts-with": { "description": "Returns results where the specified fields start with the given match string(s).", "type": "string" }, "ends-with": { "description": "Returns results where the specified fields end in the given match string(s).", "type": "string" }, "dereference": { "description": "Designates foreign key fields to dereference in the API output.", "type": "string" }, "gt": { "description": "Returns results where the specified fields have values greater than the specified values.", "type": "string" }, "gte": { "description": "Returns results where the specified fields have values greater than or equal to the specified values.", "type": "string" }, "lt": { "description": "Returns results where the specified fields have values less than the specified values.", "type": "string" }, "lte": { "description": "Returns results where the specified fields have values less than or equal to the specified values.", "type": "string" }, "q": { "description": "Accepts a full query expression as a URL-encoded JSON object. Supports all other query operators, in addition to logical conjunction with 'and', disjunction with 'or', and negation with 'not'. May be combined with other top-level operators.", "type": "string" }, "actionableTasks": { "type": "boolean", "description": "If true, only returns actionable tasks that the current user has write access to.", "default": false } } } }, "required": [ "queryParameters" ], "additionalProperties": false }
Return
Name | Type | Description |
---|---|---|
result | object | The Tasks that matched the search query. |
{ "message": "Successfully imported 3 of 4 documents", "data": [ { "_id": "C17924Ef-Deae-c5cc-2Fcf-2Aea168F16ed", "location": "Adapter", "view": null, "status": "failure", "app": "ut", "name": "in cillum laboris", "variables": { "decorators": [ { "type": "encryption", "pointer": "/~0/HPwVjom/xMMs/yV-Z,fr/BU1T/neHdo7CVtus/~0/~0/ft10OF/~1/IQ7OXj/" }, { "type": "encryption", "pointer": "/u2Dn.W-./~0/~1/K6V08X/kDv5s/IF,c" } ] }, "last_updated": "2023-04-24T03:22:47.652Z", "encodingVersion": 1, "job": { "_id": "7a9995e1fd81b96724a93a28", "task": "e28f", "name": "myCoolDocumentName", "description": "Some helpful information about the document", "ancestors": null }, "groups": [ "df51d5bd83273199f0a854f8" ], "type": "manual", "metrics": { "start_time": "commodo quis Lorem in dolor", "claim_time": "1990-06-13T11:32:39.055Z", "end_time": 29885325.306189656, "server_id": "eiusmod", "finish_state": "success", "run_time": -52973720.017554626, "user": { "_id": "22761236cca96b037022ee29", "provenance": "proident", "username": "Lorem deserunt aliquip", "firstname": "in consectetur do", "memberOf": [ { "groupId": "71729e3c15169defe05bb5e6", "aaaManaged": false }, { "groupId": "d839716f768bca20a684b300", "aaaManaged": false }, { "groupId": "b907784a18f1ad8339b1d845", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "aute" } ], "inactive": false, "lastLogin": "1968-01-24T15:03:44.627Z", "_meta": { "created": "1959-02-24T18:08:17.763Z", "updated": "1967-12-29T21:58:57.702Z", "migrationVersion": 48828378 }, "email": "dolor mollit et" }, "owner": { "_id": "c09d051eadbc282f168ee8dd", "provenance": "voluptate laboris labore", "username": "officia magna in aliquip", "firstname": "velit", "memberOf": [ { "groupId": "24b40fd593088ed107c1d163", "aaaManaged": true }, { "groupId": "6587ff4ddde7102b1c1acd91", "aaaManaged": false }, { "groupId": "809d9d72b00136123227d128", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ut sunt" }, { "roleId": "aliqua culpa" }, { "roleId": "dolore Duis occaecat commodo" } ], "inactive": true, "lastLogin": "2004-01-09T01:43:39.852Z", "_meta": { "created": "2023-09-23T04:50:28.546Z", "updated": "1978-01-11T03:35:15.28Z", "migrationVersion": -62879381 }, "email": "in" } } }, { "_id": "E957FF3b-87A4-F19D-5D85-5bE14F3AF25c", "location": "Application", "view": "qui dolor tempor", "status": "failure", "app": "anim consectetur Lorem aliqua id", "name": "dolor qui eiusmod cupidatat ad", "variables": { "decorators": [ { "type": "encryption", "pointer": "/gXo/~1/~0/~0/lpyZtHtZquL/~1/b4,T,qayY/Gqh" }, { "type": "encryption", "pointer": "/~1/Z/lalLO/tSc.N+U/~0/~0/GfvBgl/cM7sHKb8eX/H2XOwtf5HOT/Y57r4l/d6A/7G" }, { "type": "encryption", "pointer": "/xd1t/E,pC1rRl/~1/HX/~0/~1" }, { "type": "encryption", "pointer": "/KfPB93iP/gNne-rKm/tu9Uk/~0/~1/KMCAEgi8h./~0/F1KW/~1/rJ,/~0" } ] }, "last_updated": "1988-02-08T06:25:23.408Z", "encodingVersion": 1, "job": { "_id": "2b27fc80a08eef6b48db3c3a", "task": "b4f", "name": "myCoolDocumentName", "description": "Some helpful information about the document", "ancestors": [ "98f18702688081a7ac3b5454", "69784c3343afa3633d2f5a02", "f6103947df075a668c525fa0", "743e434062ea4c50eb1a893e", "89c944749807b904cbb2bd7e" ] }, "groups": [ "0bd14573dcb816e3cc01dd9a", "6c40f0a8d346d615eb63121c", "6c9712abddddaf19fa6818e6" ], "type": "manual", "metrics": { "start_time": "non cupidatat tempor", "claim_time": "1985-06-09T04:34:14.624Z", "end_time": -50788693.75975801, "server_id": "anim", "finish_state": "failure", "run_time": -16743619.570898399, "user": "b1ee546e25e5642f420376cd", "owner": "Pronghorn" } }, { "_id": "16D1e52E-a17e-daa0-eB0B-F6d9f7Ab0eE8", "location": "Application", "view": null, "status": "paused", "app": "cupidatat in voluptate", "name": "nostrud", "variables": { "decorators": [ { "type": "encryption", "pointer": "/b55LM/B4/mF/~0/d/~1/GY5VrD.ROW/G/~0/~0" }, { "type": "encryption", "pointer": "/~0/Zl2o9e/oA/~0/zKDTozJ3/PutC24ww7/iI/~0/~0/~1/h" }, { "type": "encryption", "pointer": "/B9gAGmX/H4SSbk/KwJ5CU/~0/frqAV/~0/RqiOAU-0-/~1/J" }, { "type": "encryption", "pointer": "/~0/~0" } ] }, "last_updated": "1991-10-22T00:39:06.555Z", "encodingVersion": 1, "job": { "_id": "9df9d28aa9b89f89a350272a", "task": "b4f", "name": "myCoolDocumentName", "description": "Some helpful information about the document", "ancestors": [ "738ce43c9cf306e8134f50c3", "036b59576768e3ee8c598426", "da46bb8165166d8ac9fff26c" ] }, "groups": [ { "_id": "8bab9bee97734da3af3623f6", "provenance": "velit reprehenderit nisi eu mollit", "name": "reprehenderit fugiat", "description": "velit dolore sed amet", "memberOf": [ { "groupId": "5af0060e41160594cef1f303", "aaaManaged": true }, { "groupId": "b631112d03d99250291b746d", "aaaManaged": true }, { "groupId": "4bddb3ed8e6a53a219426fa1", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "aliqua dolor cillum magna exercitation" }, { "roleId": "sit voluptate dolore" } ], "inactive": true, "_meta": { "created": "1998-11-28T04:03:20.617Z", "updated": "1966-11-02T22:19:58.436Z", "migrationVersion": 73328769 } }, "ce17a1ce4fdf1e86c0ef7f33", { "_id": "974acff3c1a9741bfd8b74ac", "provenance": "mollit", "name": "occaecat commodo ad adipisicing", "description": "consectetur eu nulla sit eiusmod", "memberOf": [ { "groupId": "d7b8c877f83fd01e801fd8f4", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "tempor aute" }, { "roleId": "eu" }, { "roleId": "in tempor veniam anim commodo" }, { "roleId": "proident" }, { "roleId": "eiusmod in aliquip dolor laborum" } ], "inactive": true, "_meta": { "created": "2003-07-18T08:48:50.483Z", "updated": "1974-09-22T11:20:28.021Z", "migrationVersion": 83218204 } }, "3870bb3af0ad66b43ae75704", { "_id": "42adfe6a76fa5a7c094b05ea", "provenance": "laboris", "name": "aute ex cupidatat eiusmod reprehenderit", "description": "voluptate Lorem", "memberOf": [ { "groupId": "32986b76512b6f6b0271ce95", "aaaManaged": false }, { "groupId": "f15bd2f9c7651b583c06920b", "aaaManaged": false }, { "groupId": "01b8d013b84e432266c53ed2", "aaaManaged": true }, { "groupId": "3ad12be7a379f47f37200751", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "Excepteur elit ad" }, { "roleId": "reprehenderit sed commodo culpa" }, { "roleId": "in eiusmod aliqua" }, { "roleId": "sed eiusmod nisi officia" }, { "roleId": "Ut aute" } ], "inactive": true, "_meta": { "created": "1945-02-10T19:27:58.517Z", "updated": "2021-03-10T21:09:08.387Z", "migrationVersion": -83832288 } } ], "type": "manual", "metrics": { "start_time": "eu quis qui ut", "claim_time": "1974-08-08T13:16:51.688Z", "end_time": 97234186.80309415, "server_id": "sunt sit ad", "finish_state": "paused", "run_time": -48960754.66342511, "user": "Pronghorn", "owner": "" } }, { "_id": "55Ac88AC-DDaf-90dC-d926-66BC52B23ceb", "location": "Application", "view": "velit ad amet proident", "status": "complete", "app": "velit", "name": "commodo esse", "variables": { "decorators": [ { "type": "encryption", "pointer": "/~0/~0/DYt/ugG2yXtxJY5/zQE5Xf82m1C/~0/EJ5UZU1wGO+/H.mbu.k6fc/~1/r.LbK0b5w" }, { "type": "encryption", "pointer": "/~1/N7/~1/YIIbEa" }, { "type": "encryption", "pointer": "/E4KH/~0/~1/~0/~1/vwfy0A6cfx/rF/~0/~0/bjbg/KsD+nNXYm" } ] }, "last_updated": "1956-10-04T03:33:06.448Z", "encodingVersion": 1, "job": { "_id": "cfb102e60f2db1eee5913cde", "task": "e28f", "name": "myCoolDocumentName", "description": "Some helpful information about the document", "ancestors": [ "abd306fa489f2abb86645a7e", "bdb717cbef467a86bd4ddc74" ] }, "groups": [ { "_id": "9a5e31b04472b239c92aa4da", "provenance": "esse enim aute proident qui", "name": "dolore velit dolor in fugiat", "description": "aliqua", "memberOf": [ { "groupId": "dbb1abfb36d012d0aae05af3", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "do tempor laboris id" }, { "roleId": "reprehenderit qui" }, { "roleId": "voluptate" }, { "roleId": "ipsum sint" } ], "inactive": true, "_meta": { "created": "2020-12-17T07:11:46.844Z", "updated": "1946-11-29T01:54:50.114Z", "migrationVersion": -58014757 } }, "36428703613cd1238b3ba71e", { "_id": "b8df8025ad84e3c251a7f140", "provenance": "reprehenderit labore et", "name": "incididunt anim ullamco deserunt esse", "description": "fugiat qui sit in", "memberOf": [ { "groupId": "cf29ddbd8518cb940eed21fa", "aaaManaged": false }, { "groupId": "ae9c13a1e8e451a94487b822", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "dolor proident dolore" }, { "roleId": "Excepteur in" }, { "roleId": "sit do irure id exercitation" }, { "roleId": "reprehenderit fugiat Ut commodo aute" }, { "roleId": "culpa dolor voluptate elit" } ], "inactive": false, "_meta": { "created": "2009-03-05T11:13:14.997Z", "updated": "2008-07-06T23:34:13.093Z", "migrationVersion": 26105866 } } ], "type": "manual", "metrics": { "start_time": "est velit dolore nulla nostrud", "claim_time": "2005-01-11T14:08:17.008Z", "end_time": 84349308.67106694, "server_id": "mollit", "finish_state": "success", "run_time": -1366688.5146324486, "user": "Pronghorn", "owner": "e2a25dc23594a4686204bcf9" } } ], "metadata": { "skip": 46934352, "limit": -40150077, "total": -62573180, "nextPageSkip": null, "previousPageSkip": -62927755, "currentPageSize": -93056114 } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "task-api" } }, "metadata": { "$ref": "common-api#/definitions/pagination-metadata" } } } ] }