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": 50, "order": 1, "sort": "name", "include": "description", "exclude": "description", "in": "elit", "not-in": "do deserunt", "equals": "minim pariatur exercitation", "contains": "dolore incididunt", "starts-with": "fugiat officia in sunt enim", "ends-with": "in id cillum aliquip", "dereference": "cillum aute esse ut", "gt": "id Excepteur", "gte": "cupidatat aliquip Duis occaecat non", "lt": "nulla mollit voluptate Duis", "lte": "ex in", "q": "est anim", "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 created the requested item", "data": [ { "_id": "8d28f5ED-cddc-eaf5-Ac9f-f52Becb3BdcF", "location": "Adapter", "view": "do", "status": "canceled", "app": "sint", "name": "Duis et in", "variables": { "decorators": [ { "type": "encryption", "pointer": "/KO1+3ltDF/~0/Ci3l/~0/~0" }, { "type": "encryption", "pointer": "/vPkQN" } ] }, "last_updated": "1964-05-18T02:39:39.657Z", "encodingVersion": 1, "job": { "_id": "c19967424ca15432bdd60ada", "task": "b4f", "name": "myCoolDocumentName", "description": "Some helpful information about the document", "ancestors": [ "78a9146f652e4965ccb77c15", "11935aa963d7d33a43068b37", "010820ab7e819f0e13784eeb", "f5f353553f3be8b34707f02d", "4138cd393958e03023aec2b8" ] }, "groups": [ { "_id": "7fb7f207c46177f78bf9ba44", "provenance": "ipsum Duis ut id Lorem", "name": "velit commodo", "description": "aliquip", "memberOf": [ { "groupId": "d42cc77fa35a03b4e07c9f5d", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "reprehenderit dolore minim" }, { "roleId": "irure ad non dolore" }, { "roleId": "laborum in" }, { "roleId": "dolore Lorem officia dolore" } ], "inactive": false, "_meta": { "created": "1995-03-28T05:40:23.294Z", "updated": "2005-12-23T13:19:11.59Z", "migrationVersion": -91271874 } }, { "_id": "98e0beac1afcbccbcccfdfa0", "provenance": "proident non ad irure", "name": "do qui exercitation", "description": "cupidatat mollit", "memberOf": [ { "groupId": "a78615b4acdebd630896f1e8", "aaaManaged": true }, { "groupId": "fff8479fb77ff63f24689983", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ea consectetur" }, { "roleId": "sed" } ], "inactive": false, "_meta": { "created": "1977-09-10T16:13:29.795Z", "updated": "1992-04-05T20:44:40.985Z", "migrationVersion": -16978511 } }, { "_id": "841a41292a71233dc3b8f950", "provenance": "elit dolor", "name": "sint qui Duis", "description": "ea esse", "memberOf": [ { "groupId": "641e171c1fc7974b47e3f7cc", "aaaManaged": true }, { "groupId": "6ae244b979bc0d0864fa09fd", "aaaManaged": false }, { "groupId": "cbe8a967f38e25ff6fa3b005", "aaaManaged": true }, { "groupId": "db9c088b689b4044dda0a23c", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ullamco enim sunt" }, { "roleId": "amet" } ], "inactive": true, "_meta": { "created": "2009-01-14T04:53:13.708Z", "updated": "1993-10-21T17:45:03.926Z", "migrationVersion": 49608515 } }, "45ec7dffd1ef85d952990255" ], "type": "operation", "metrics": { "start_time": "ea deserunt", "end_time": 77622409.34953573, "server_id": "exercitation", "finish_state": "success", "run_time": -58239286.80500745, "retrying": false, "user": "Pronghorn", "owner": "5daf908b494640d299e7de60" } }, { "_id": "7C14Db8B-48eB-01DF-174b-Fd5E4bBbbDa6", "location": "Adapter", "view": "pariatur quis in est eiusmod", "status": "scheduled", "app": "qui", "name": "officia labore", "variables": { "decorators": [ { "type": "encryption", "pointer": "/tVXgm/IisL/~0/BE20vtIw/~0/~1/mb,V5U25Y/~0/W-Z1rMwaxV" }, { "type": "encryption", "pointer": "/~0/O6ZNTem./~1/fYo7oys3h/~0/~0/~1" } ] }, "last_updated": "1975-01-25T19:39:46.987Z", "encodingVersion": 1, "job": { "_id": "69b961928328ddc03a107636", "task": "b4f", "name": "myCoolDocumentName", "description": "Some helpful information about the document", "ancestors": [ "697b42ceb6557c88ba73c2ec", "5842d2ed40ad6afc2086971d" ] }, "groups": [ { "_id": "2879343c2e226d356f054391", "provenance": "aliqua culpa ea sunt", "name": "dolor", "description": "ea laboris proident in sit", "memberOf": [ { "groupId": "4422b73b036b965d270628a3", "aaaManaged": false }, { "groupId": "3852b140da701ce1e3eceaa1", "aaaManaged": false }, { "groupId": "b859ecd474f96679de20d2d0", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ullamco Duis do" } ], "inactive": true, "_meta": { "created": "1967-06-17T00:51:11.491Z", "updated": "2006-05-03T02:16:52.976Z", "migrationVersion": -3467393 } } ], "type": "operation", "metrics": { "start_time": "deserunt mollit cupidatat", "end_time": -67054997.72547303, "server_id": "sunt dolor", "finish_state": "incomplete", "run_time": -74791656.84028502, "retrying": null, "user": "9a1756d89a2dd5ea1044f8cd", "owner": "d5fcb69e58556159d433eac8" } }, { "_id": "4eE8d7B9-3bb6-c9BA-53BE-d7DEDdefbB8a", "location": "Application", "view": "Excepteur ex culpa", "status": "complete", "app": "non cupidatat", "name": "Duis voluptate", "variables": { "decorators": [ { "type": "encryption", "pointer": "/PJDn4Jpoi" }, { "type": "encryption", "pointer": "/GyJZiRg/sEu/iW7Aii6t/~1/~0/~0/Zis,2/wzejz5HsbP4/p5Ktkq9AGd/gqg/~1" }, { "type": "encryption", "pointer": "/FEA1VTODZ/MB6GL.HYoZ//~1" }, { "type": "encryption", "pointer": "/ErlKfv/NxR+rEZ/~0/~0/WuUp/~1/DpH5lW/~1/~0" }, { "type": "encryption", "pointer": "/zug58DVM/w7zWm-/bk7tgHkqY-y/~0/xvWOW.A/RY1JSGU2/AIzT/Q/~0/~1/~1/KUv3OsjX" } ] }, "last_updated": "2000-03-23T00:29:37.781Z", "encodingVersion": 1, "job": { "_id": "f0507d5a626e821adbd75f57", "task": "e28f", "name": "myCoolDocumentName", "description": "Some helpful information about the document", "ancestors": [ "e22bce57373a31aa31acde01", "1a93ba416539337287c63e4a" ] }, "groups": [ { "_id": "7208612196369705d31dcea8", "provenance": "sed", "name": "reprehenderit Ut dolor ea do", "description": "ut in veniam ex", "memberOf": [ { "groupId": "3aeb4ea7dc41362e367c409e", "aaaManaged": true }, { "groupId": "6f49da81e636548f012f422f", "aaaManaged": true }, { "groupId": "515d5c1cfe7702236ade208a", "aaaManaged": false }, { "groupId": "fa4d460b3c5730b4b5f1dcd4", "aaaManaged": false }, { "groupId": "21032727d9ef7ef81e215874", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "nulla aliqua dolore" }, { "roleId": "sit sint consequat" }, { "roleId": "consectetur dolor" } ], "inactive": false, "_meta": { "created": "1959-08-22T19:06:52.919Z", "updated": "1970-10-22T21:52:25.919Z", "migrationVersion": 2057264 } }, { "_id": "7b991c3bc24e8e9401c76620", "provenance": "amet dolore exercitation et cillum", "name": "incididunt labore esse anim", "description": "nisi eiusmod occaecat Excepteur", "memberOf": [ { "groupId": "02947c83d65d824c9d7d61bf", "aaaManaged": false }, { "groupId": "e17802f4ebe026a832624e18", "aaaManaged": false }, { "groupId": "4b72512db63fd36bd0de9b16", "aaaManaged": false }, { "groupId": "5c4fe72e5cf17ca9fd991be3", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "tempor amet non" }, { "roleId": "deserunt aliquip ea" }, { "roleId": "dolor eiusmod" }, { "roleId": "velit exercitation" }, { "roleId": "sunt exercitation magna laborum tempor" } ], "inactive": false, "_meta": { "created": "2022-07-05T21:31:11.043Z", "updated": "1991-07-22T21:42:24.49Z", "migrationVersion": -76554144 } }, { "_id": "92ba2ef70fbc42bb9c210de7", "provenance": "qui tempor", "name": "et aute commodo", "description": "voluptate nisi eu Duis", "memberOf": [ { "groupId": "057db2a92663b01429cce938", "aaaManaged": true }, { "groupId": "14af128c9df1ca2f22e84e69", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "tempor laborum reprehenderit" }, { "roleId": "velit nulla aliqua dolor culpa" }, { "roleId": "ullamco deserunt pariatur cupidatat cillum" } ], "inactive": false, "_meta": { "created": "1975-04-24T21:07:10.968Z", "updated": "1951-02-19T08:41:33.215Z", "migrationVersion": 89846007 } }, "b967883f4bf576a01f31b23c" ], "type": "operation", "metrics": { "start_time": "reprehenderit sit irure exercitation", "end_time": -69274846.80505311, "server_id": "pariatur aliquip", "finish_state": "scheduled", "run_time": 1450420.210397765, "retrying": false, "user": "fbb1b4c90a132d98ef2bbfe0", "owner": "" } }, { "_id": "70Be664a-1DF1-0dcB-CEA3-B919c83f0c5A", "location": "Broker", "view": null, "status": "failure", "app": "anim occaecat irure dolor", "name": "enim commodo dolor ut", "variables": { "decorators": [ { "type": "encryption", "pointer": "/~1/csprqfw/ve8/YrV,0/z2OHu/yz/~0" }, { "type": "encryption", "pointer": "/wdBZS6E6./~0/~1/~0/~1/~1/~0/bZ/~0/~0" }, { "type": "encryption", "pointer": "/~1/~1/co/~1/R8Fi72/q/aW/~0/ODmEypxFE/~1" }, { "type": "encryption", "pointer": "/~0/~1/WSF-c5w/qx" }, { "type": "encryption", "pointer": "/~0/~0/~1/~1/kX3mlz6/lA/C4/~1/~1" } ] }, "last_updated": "1963-07-13T04:45:30.901Z", "encodingVersion": 1, "job": { "_id": "3d01c3d8f6d7065d1f2896af", "task": "b4f", "name": "myCoolDocumentName", "description": "Some helpful information about the document", "ancestors": [ "98e9aca167a0565397f93767", "736002b0de93c0f85dcf348a", "32c4890a813d72d4c9b0fa30", "32f19b8c3b7f48c2878fba06", "2360e4c3c7860c724328ef18" ] }, "groups": [ "f85857538159c81179e47089", { "_id": "5f1c74ddf54d4dcb1152f9cf", "provenance": "ea eiusmod do laboris", "name": "consectetur", "description": "anim ipsum sunt deserunt", "memberOf": [ { "groupId": "669d0edc59735008aa5b6106", "aaaManaged": true }, { "groupId": "5b8953d7001bf5537571f6f2", "aaaManaged": true }, { "groupId": "1b76be03d71d52de36590ebb", "aaaManaged": true }, { "groupId": "a405a6c316d97f29db572cd8", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "exercitation" } ], "inactive": false, "_meta": { "created": "2010-06-24T11:20:10.611Z", "updated": "1990-02-10T22:13:03.121Z", "migrationVersion": 92027872 } } ], "type": "operation", "metrics": { "start_time": "minim consequat", "end_time": -63188043.785994716, "server_id": "amet incididunt irure", "finish_state": "success", "run_time": -81241966.45380111, "retrying": null, "user": "Pronghorn", "owner": "1a4d209e66d02455863d6e77" } }, { "_id": "6a401087-d7cD-ebcC-F268-57006Bd83D5C", "location": "Broker", "view": "Excepteur", "status": "failure", "app": "elit", "name": "commodo ut amet", "variables": { "decorators": [ { "type": "encryption", "pointer": "/apEA/2/~1/Q/ATEMMonBc" }, { "type": "encryption", "pointer": "/vUg/~1/~1/~0/~0/t/~0/~1/S4jG38jQfv" }, { "type": "encryption", "pointer": "/J/T/29cLjZn/nD9FIV" }, { "type": "encryption", "pointer": "/~0/J-HrfT/l/QSag9SJe8Gd/JHAOdg0/~1/DAq/ncCd2cLJk/Q" }, { "type": "encryption", "pointer": "/~1/~1/~0/k/d1yuM9H/~1/FwF/~1" } ] }, "last_updated": "2002-08-04T00:46:20.639Z", "encodingVersion": 1, "job": { "_id": "20493bfa699113a984e5a449", "task": "e28f", "name": "myCoolDocumentName", "description": "Some helpful information about the document", "ancestors": [ "6d52eca6601b0a2a75137906", "37225e70cf485fdff44258ba", "771b5fb3110337ae950a51aa" ] }, "groups": [ { "_id": "5223515c0c1e3aede801c659", "provenance": "nulla nisi mollit consequat adipisicing", "name": "laboris ut", "description": "consequat adipisicing nostrud in", "memberOf": [ { "groupId": "39dbce9212477b6c25cc0e72", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ut aliquip" }, { "roleId": "Ut qui officia" }, { "roleId": "fugiat" }, { "roleId": "esse sunt eiusmod laboris officia" }, { "roleId": "minim" } ], "inactive": true, "_meta": { "created": "1953-08-24T07:14:03.944Z", "updated": "2002-01-22T23:34:50.314Z", "migrationVersion": -42687728 } }, "817a5e084eb45606df0635dd", "a0914ab7f310b53ac632c985" ], "type": "operation", "metrics": { "start_time": "occaecat proident est", "end_time": -8853479.083843574, "server_id": "fugiat", "finish_state": "success", "run_time": -33933025.62008178, "retrying": null, "user": { "_id": "85a3b928adc2277f3607e156", "provenance": "esse ad incididunt exercitation", "username": "quis sed", "firstname": "laboris mollit dolore", "memberOf": [ { "groupId": "9985bf9669d5b26fa4051ba6", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "in qui consequat veniam est" }, { "roleId": "laborum adipisicing ipsum" } ], "inactive": false, "lastLogin": "2007-08-05T17:30:37.847Z", "_meta": { "created": "1973-04-01T04:14:15.764Z", "updated": "1951-10-13T16:19:41.712Z", "migrationVersion": 17306562 }, "email": "aute esse quis" }, "owner": "Pronghorn" } } ], "metadata": { "skip": 86146106, "limit": -67885410, "total": 44910705, "nextPageSkip": null, "previousPageSkip": -9445560, "currentPageSize": -52022253 } }
{ "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" } } } ] }