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": 10, "skip": 50, "order": 1, "sort": "name", "include": "description", "exclude": "_id,description", "in": "sit laboris occaecat nostrud", "not-in": "reprehenderit", "equals": "esse ut deserunt", "contains": "et", "starts-with": "est sit incididunt enim voluptate", "ends-with": "dolore ipsum nostrud id", "dereference": "sed aliqua culpa irure", "gt": "occaecat", "gte": "qui", "lt": "Lorem elit", "lte": "labore ea fugiat nisi tempor", "q": "do est", "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": "C6CDa555-f35C-676A-b836-eCd94Da326FD", "location": "Broker", "view": "ex amet id reprehenderit", "status": "scheduled", "app": "ex", "name": "dolore commodo elit nulla", "variables": { "decorators": [ { "type": "encryption", "pointer": "/~1/~1/~0/~0" }, { "type": "encryption", "pointer": "/n/gs/~1/qlz65kv/q6AJ2qn/~1/pJI0Li+z.UT" } ] }, "last_updated": "1965-12-28T23:13:39.456Z", "encodingVersion": 1, "job": { "_id": "bf56eea091cfd611e9b6b987", "task": "b4f", "name": "myCoolDocumentName", "description": "Some helpful information about the document", "ancestors": [ "35a7887edb7031005dee6c29", "8033254881b1084427e576c4", "5b210de72f0491d28c25c904", "a5eb53a447aa2ee6d4447e36" ] }, "groups": [ "9734e935df48436675d8d06d", { "_id": "37fb13f2e567592b5faa68c6", "provenance": "ea reprehenderit enim ut et", "name": "laborum Lorem", "description": "aliqua Duis", "memberOf": [ { "groupId": "08412311c878c6ee7eebfbe9", "aaaManaged": false }, { "groupId": "d421f53ddc636585851ab426", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "proident" }, { "roleId": "non" }, { "roleId": "ullamco tempor ut" } ], "inactive": false, "_meta": { "created": "1999-12-27T21:21:36.014Z", "updated": "2003-10-23T17:34:43.978Z", "migrationVersion": -9188688 } }, { "_id": "3c84695c668334b48b228b71", "provenance": "aliquip enim", "name": "cillum id minim", "description": "nisi", "memberOf": [ { "groupId": "f2a30255c94563b8a66ad0b6", "aaaManaged": false }, { "groupId": "fcbe08f6f96146496448ef94", "aaaManaged": false }, { "groupId": "f2ae60679d9bf60ce06ca0b2", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "qui" }, { "roleId": "esse dolore ut cillum" }, { "roleId": "dolor" }, { "roleId": "esse" }, { "roleId": "officia" } ], "inactive": true, "_meta": { "created": "2018-06-17T15:39:44.102Z", "updated": "2015-09-13T08:49:14.202Z", "migrationVersion": -10287682 } }, "f3b16b0445ac1723b4ec6105" ], "type": "operation", "metrics": { "start_time": "id sunt", "end_time": 82921166.34496525, "server_id": "irure", "finish_state": "success", "run_time": 33985074.64415133, "retrying": true, "user": "Pronghorn", "owner": { "_id": "bef4e340b4f9e72ac5940cb1", "provenance": "cupidatat est ex", "username": "esse dolore adipisicing enim commodo", "firstname": "occaecat", "memberOf": [ { "groupId": "65b657a91da04360e2996830", "aaaManaged": false }, { "groupId": "839eefec46e6b55ac33d4eaa", "aaaManaged": false }, { "groupId": "84a1878bd19341679febdbeb", "aaaManaged": true }, { "groupId": "7dbe1d9bca57bc79dd3698f1", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "occaecat sit dolore" }, { "roleId": "ad Ut in exercitation" } ], "inactive": true, "lastLogin": "2014-10-21T20:35:43.838Z", "_meta": { "created": "1954-06-08T11:05:39.837Z", "updated": "1995-07-10T08:51:25.64Z", "migrationVersion": 79668918 }, "email": "sit enim ut" } } }, { "_id": "E051cDcd-1D4D-baD6-285F-c4d5B2FC36af", "location": "Application", "view": null, "status": "scheduled", "app": "adipisicing", "name": "ad laboris", "variables": { "decorators": [ { "type": "encryption", "pointer": "/Dbrk4i3I/DPoC6/g/s0/~0/B/L/BwDIc" }, { "type": "encryption", "pointer": "/~1/~0/~0/~0" }, { "type": "encryption", "pointer": "/l9.U-vEcTn1/k/wQQmL/Frpmc/o,/~1" } ] }, "last_updated": "1976-02-20T15:03:25.939Z", "encodingVersion": 1, "job": { "_id": "fe4cc99c0d99eae5229c5608", "task": "e28f", "name": "myCoolDocumentName", "description": "Some helpful information about the document", "ancestors": [ "c8f7673e7c8180c960aab19d", "451dac8417a9dff342df460a", "ff1341bbff071d817ea7a33d" ] }, "groups": [ "047fa23a8643bf75d2bb80e8", { "_id": "358083445b394c33ca57f5a3", "provenance": "ipsum", "name": "quis exercitation occaecat reprehenderit", "description": "magna Excepteur", "memberOf": [ { "groupId": "8ec87b5c3f67c0be1f6713f1", "aaaManaged": false }, { "groupId": "e44f79218df24d613a8f9e50", "aaaManaged": true }, { "groupId": "fe4817c49c755ff8c53ea2b5", "aaaManaged": true }, { "groupId": "08c56a4b7d72ce98aa974d71", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ipsum deserunt occaecat sunt" }, { "roleId": "est velit" } ], "inactive": false, "_meta": { "created": "2006-03-26T18:17:46.784Z", "updated": "1985-08-14T06:23:16.389Z", "migrationVersion": -88997574 } }, { "_id": "c695db2951cee038544f1b33", "provenance": "adipisicing cupidatat laboris anim", "name": "ullamco Excepteur culpa in aute", "description": "laboris irure ex dolor", "memberOf": [ { "groupId": "96a6dd7e4567b1a348b0c976", "aaaManaged": false }, { "groupId": "7b7a87fabc473da494aec340", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "laborum irure" }, { "roleId": "reprehenderit" }, { "roleId": "dolor enim tempor" } ], "inactive": true, "_meta": { "created": "1957-07-02T12:47:42.952Z", "updated": "2006-11-09T12:55:25.357Z", "migrationVersion": 16878303 } }, { "_id": "fad6669a915a42ee093ab7b0", "provenance": "esse in dolore eu", "name": "sit dolore Lorem nulla", "description": "labore ipsum", "memberOf": [ { "groupId": "823248bd334d101437e59747", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "amet fugiat" }, { "roleId": "aute mollit nisi culpa" }, { "roleId": "labore in Lorem" }, { "roleId": "et" } ], "inactive": false, "_meta": { "created": "2006-10-06T13:56:17.379Z", "updated": "2023-03-26T06:41:13.161Z", "migrationVersion": 19857626 } }, "c868cd4dfb1ae4c5d24dbbe8" ], "type": "operation", "metrics": { "start_time": "ut Excepteur", "end_time": 81251868.81153783, "server_id": "in eiusmod esse aute aliquip", "finish_state": "canceled", "run_time": 37580104.024703026, "retrying": null, "user": "Pronghorn", "owner": "7ce1f34b7726fd845308cb1c" } }, { "_id": "EFA537b7-59a1-648c-52b0-FfADBa7F6DD5", "location": "Broker", "view": null, "status": "paused", "app": "deserunt ad", "name": "labore", "variables": { "decorators": [ { "type": "encryption", "pointer": "/vmHD/C8BMxK/~1/gD7Sr/~0/iLN/XB+C0/~1/fWL0RAbZX3" }, { "type": "encryption", "pointer": "/~0/~0/~0" } ] }, "last_updated": "1975-02-18T10:52:35.447Z", "encodingVersion": 1, "job": { "_id": "78ac6bfef1d697c720b103b3", "task": "e28f", "name": "myCoolDocumentName", "description": "Some helpful information about the document", "ancestors": [ "2182f138826ef44cffbd7810", "7183294a0d692322dcc2ed62" ] }, "groups": [ { "_id": "daf0c2fc4f9ac72ddb2a8406", "provenance": "occaecat fugiat", "name": "nostrud Excepteur aliqua", "description": "irure proident", "memberOf": [ { "groupId": "6096709469588d90d14ae2ff", "aaaManaged": false }, { "groupId": "762483056356d911d7bf9b8d", "aaaManaged": false }, { "groupId": "ff3e69f9ea9cfae2f08eef8e", "aaaManaged": true }, { "groupId": "37df12e77013db9b98fd02a1", "aaaManaged": false }, { "groupId": "e442e97e01e4dd8a01feb001", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sit" }, { "roleId": "cillum laboris magna ut ad" }, { "roleId": "enim commodo non" } ], "inactive": false, "_meta": { "created": "2003-02-17T01:01:44.202Z", "updated": "1973-03-28T00:15:07.184Z", "migrationVersion": 81241025 } } ], "type": "operation", "metrics": { "start_time": "qui cillum tempor", "end_time": 6088872.8280620575, "server_id": "cupidatat id exercitation anim", "finish_state": "success", "run_time": -52460568.07573112, "retrying": false, "user": "Pronghorn", "owner": { "_id": "dd473155732544d87a04bbd4", "provenance": "laborum ea cillum", "username": "ut", "firstname": "sint pariatur minim nulla", "memberOf": [ { "groupId": "4ac8d5cbc007779afa799325", "aaaManaged": false }, { "groupId": "c614b8d0aa1b1a9e8351f566", "aaaManaged": true }, { "groupId": "4a958c72e3bcc9b3ddb61634", "aaaManaged": true }, { "groupId": "354852e045e65c5b19596f37", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "dolore consectetur et sed" }, { "roleId": "exercitation" }, { "roleId": "aute in culpa nulla" }, { "roleId": "Lorem" }, { "roleId": "Excepteur est proident" } ], "inactive": true, "lastLogin": "1983-03-04T09:57:02.056Z", "_meta": { "created": "1974-01-17T02:03:29.872Z", "updated": "1985-02-01T09:55:47.987Z", "migrationVersion": -44127975 }, "email": "esse est ex sed mollit" } } }, { "_id": "8f060bDF-8EeB-DECB-1629-9dcf7CeeFDAc", "location": "Adapter", "view": null, "status": "failure", "app": "proident ad", "name": "ad velit laboris dolor ipsum", "variables": { "decorators": [ { "type": "encryption", "pointer": "/NRFgpo/6-E" }, { "type": "encryption", "pointer": "/~0/sD3/~1/~1/~1" }, { "type": "encryption", "pointer": "/IOAvqD/~1/QHg/JdNDOjbP/KEftOg5OY/~0/~0/~1" }, { "type": "encryption", "pointer": "/~0/~0/~1/eFFKM/~1" } ] }, "last_updated": "2009-05-16T08:14:06.085Z", "encodingVersion": 1, "job": { "_id": "733c82fed10c486cd5f27d6a", "task": "b4f", "name": "myCoolDocumentName", "description": "Some helpful information about the document", "ancestors": null }, "groups": [ { "_id": "e2c3d0588bb9b328bd393167", "provenance": "esse elit Lorem culpa ipsum", "name": "voluptate", "description": "ipsum aliqua elit Ut in", "memberOf": [ { "groupId": "8457e923f9fe84f705467da9", "aaaManaged": true }, { "groupId": "60ffade7fe3bf405a91ac88d", "aaaManaged": false }, { "groupId": "c63fa967dac3351d10af262c", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "eu Duis sunt veniam irure" }, { "roleId": "nulla cillum" }, { "roleId": "do officia consectetur amet" }, { "roleId": "sint" }, { "roleId": "Excepteur dolore Ut dolor" } ], "inactive": false, "_meta": { "created": "2018-11-24T01:00:09.42Z", "updated": "1947-08-30T17:41:35.302Z", "migrationVersion": -17873895 } }, { "_id": "e6e08d597f97079d28bb4b9d", "provenance": "elit", "name": "adipisicing reprehenderit dolor sed", "description": "dolor quis aliqua elit fugiat", "memberOf": [ { "groupId": "db6488ca15cc7d5d50550ccb", "aaaManaged": true }, { "groupId": "de51cb7b6564d7729732efc0", "aaaManaged": true }, { "groupId": "7724fdf4f1e3b0883de7b9ff", "aaaManaged": false }, { "groupId": "a111aad0f1793c38620a1985", "aaaManaged": false }, { "groupId": "51b4923e41df010b85f0b802", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "qui exercitation voluptate dolore" }, { "roleId": "id" }, { "roleId": "aliqua consequat ex Excepteur" } ], "inactive": true, "_meta": { "created": "2012-08-20T11:26:38.594Z", "updated": "2000-04-02T05:12:35.597Z", "migrationVersion": -32147904 } }, "69a249e39841b62a1ed8fec1" ], "type": "operation", "metrics": { "start_time": "occaecat ut irure enim veniam", "end_time": 6189590.585355461, "server_id": "sed", "finish_state": "incomplete", "run_time": 67131771.96325019, "retrying": false, "user": "ec035ffff45bf7bfda5d33e5", "owner": "Pronghorn" } }, { "_id": "0fdA2c75-cBF9-E71f-7Fbe-bc176E7bFc1F", "location": "Application", "view": null, "status": "paused", "app": "eiusmod exercitation culpa", "name": "laborum in nulla ut", "variables": { "decorators": [ { "type": "encryption", "pointer": "/i6M1oE/~1" }, { "type": "encryption", "pointer": "/~1/~1/~0/~0/~0/~1/~0/cDgOsPLac8/~1/JzXd0R2.4lP/xbION/B" } ] }, "last_updated": "1964-02-21T17:35:37.199Z", "encodingVersion": 1, "job": { "_id": "a5a3fb99de47c2a2514eb204", "task": "3a1f", "name": "myCoolDocumentName", "description": "Some helpful information about the document", "ancestors": [ "1b3c748788a133784cf5e824", "b2b4b5e3a75492799489c818", "9afc1313e84321ca4ff391fd", "e74d3ac566956e6da550ec5d", "aa6b04854c3104a5a5d2f531" ] }, "groups": [ "3a75d6e3d72c599143349637", { "_id": "c326956a0118bb168c0e5bde", "provenance": "nisi voluptate do et", "name": "ullamco velit proident", "description": "Ut qui occaecat", "memberOf": [ { "groupId": "1c7c23677016100bfa90cfe2", "aaaManaged": false }, { "groupId": "dbc2415e834ec9c1bf8c4a15", "aaaManaged": true }, { "groupId": "075cb42e5ff77fb3dfb9c3a8", "aaaManaged": true }, { "groupId": "915fd89201ac04d6864cae21", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "anim ad aliquip" }, { "roleId": "amet laborum consequat aute" } ], "inactive": false, "_meta": { "created": "2014-12-19T22:55:37.436Z", "updated": "1979-10-07T14:42:30.173Z", "migrationVersion": 86049426 } } ], "type": "operation", "metrics": { "start_time": "quis ea magna reprehenderit", "end_time": 3486866.695581138, "server_id": "aute reprehenderit ex officia cillum", "finish_state": "success", "run_time": 119560.17646168172, "retrying": null, "user": "6c5c897f4f440414adf286df", "owner": { "_id": "b84a5ac0dfc610b2ac3ae951", "provenance": "do eiusmod est culpa", "username": "ad do", "firstname": "reprehenderit laborum exercitation", "memberOf": [ { "groupId": "4e1fc34a2d458657ee4180e3", "aaaManaged": false }, { "groupId": "72f5e0b45db56c37e211b0c1", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "id anim quis ad" }, { "roleId": "consectetur consequat" }, { "roleId": "Ut nulla amet laboris" }, { "roleId": "do amet nisi dolore sunt" }, { "roleId": "sit tempor qui quis dolor" } ], "inactive": true, "lastLogin": "1964-11-16T07:09:38.437Z", "_meta": { "created": "1993-08-04T17:42:10.22Z", "updated": "1993-01-09T22:08:05.008Z", "migrationVersion": 66916104 }, "email": "sint officia" } } } ], "metadata": { "skip": -42375079, "limit": -566455, "total": -16412095, "nextPageSkip": null, "previousPageSkip": null, "currentPageSize": 66916217 } }
{ "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" } } } ] }