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": 50, "skip": 50, "order": 1, "sort": "name", "include": "description", "exclude": "_id", "in": "in mollit eiusmod aliqua", "not-in": "dolore in cupidatat nisi est", "equals": "aute in incididunt", "contains": "sint laboris pariatur", "starts-with": "in veniam reprehenderit commodo", "ends-with": "non velit cupidatat sed eu", "dereference": "aliqua", "gt": "fugiat aliqua voluptate eiusmod pariatur", "gte": "cillum in sit", "lt": "in cillum officia sed", "lte": "enim reprehenderit aliqua Excepteur veniam", "q": "labore", "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": "9fA516AF-f5EF-fEd2-6B8A-98B7be54d4fF", "location": "Application", "view": null, "status": "complete", "app": "veniam", "name": "nulla in sit", "variables": { "decorators": [ { "type": "encryption", "pointer": "/QsWKEmYMV+" }, { "type": "encryption", "pointer": "/~1/~1/ua2IJI/BCvL7w0/iF/aRz/C/apsZ/mq/LwDCjH1z/~1" }, { "type": "encryption", "pointer": "/oPvspTqL4h5" } ] }, "last_updated": "1946-01-28T20:32:10.497Z", "encodingVersion": 1, "job": { "_id": "1cccbb1a730b0f4dc2de7ab0", "task": "e28f", "name": "myCoolDocumentName", "description": "Some helpful information about the document", "ancestors": null }, "incomingRefs": [], "groups": [ "2d410876f49355fabc19cb28", { "_id": "be66a079aaf0cf96e76c4cad", "provenance": "in dolore aliqua", "name": "quis qui", "description": "magna quis Excepteur in", "memberOf": [ { "groupId": "69ac9d007a15431ce4c37430", "aaaManaged": false }, { "groupId": "352daf3313ca6c93b392c000", "aaaManaged": false }, { "groupId": "2dd9ff1fba98922d2c1153e2", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "consequat voluptate cillum" }, { "roleId": "sunt Excepteur" }, { "roleId": "in ut cupidatat voluptate ad" } ], "inactive": false, "_meta": { "created": "1985-08-19T22:25:48.415Z", "updated": "1969-05-08T16:38:03.17Z", "migrationVersion": -17247792 } } ], "type": "manual", "metrics": { "start_time": "cupidatat ea in magna cillum", "claim_time": "1972-07-12T15:01:00.844Z", "end_time": 71974366.41584706, "server_id": "ad tempor eu officia", "finish_state": "complete", "run_time": 41604496.168001145, "user": "", "owner": "7c18dedd46e947b077539118" } }, { "_id": "cDcF99be-8Bd8-C7Ef-28aa-B615ea1dB9aE", "location": "Adapter", "view": null, "status": "failure", "app": "enim", "name": "veniam magna deserunt consectetur", "variables": { "decorators": [ { "type": "encryption", "pointer": "/~1/tfgFtQRwp/Q/~1/GUv/ed5/~1" }, { "type": "encryption", "pointer": "/BZx/jn/~0/~1/bINDB/ro7aC/NFqE/l0D/~0/~0/YAXC" } ] }, "last_updated": "2014-04-11T05:55:27.248Z", "encodingVersion": 1, "job": { "_id": "16cdc3d4dec58d7ff8859384", "task": "3a1f", "name": "myCoolDocumentName", "description": "Some helpful information about the document", "ancestors": null }, "incomingRefs": [], "groups": [ "5d7cfd1f75eb86e879cbe619" ], "type": "manual", "metrics": { "start_time": "incididunt qui anim", "claim_time": "1989-08-15T22:00:20.676Z", "end_time": 66036318.20251766, "server_id": "aute dolor voluptate nulla", "finish_state": "success", "run_time": -78072069.14767972, "user": "68a59693f2b5faa9c1a2efd3", "owner": "" } }, { "_id": "eA49A0c5-e74b-E10F-5F92-e9eabd6072C2", "location": "Application", "view": null, "status": "running", "app": "velit laborum culpa dolor", "name": "in quis", "variables": { "decorators": [ { "type": "encryption", "pointer": "/~1/Ts5MuZ2PDL/~1/yon/~1/~0/~0" }, { "type": "encryption", "pointer": "/~1/~1" }, { "type": "encryption", "pointer": "/~0/FpekHaF7/~1/FQtfFkp-/~1" }, { "type": "encryption", "pointer": "/~0/aj/~1/seUJdLR,3/j1Nv,3s2HIb/Pykt" } ] }, "last_updated": "1980-04-14T22:57:04.765Z", "encodingVersion": 1, "job": { "_id": "e9597b6378519a03a7a97a25", "task": "3a1f", "name": "myCoolDocumentName", "description": "Some helpful information about the document", "ancestors": null }, "incomingRefs": [], "groups": [ "c32e914243375f39a6405b03" ], "type": "manual", "metrics": { "start_time": "sint pariatur", "claim_time": "1974-05-28T14:59:37.362Z", "end_time": 24191218.206696257, "server_id": "incididunt", "finish_state": "error", "run_time": -88719096.3392328, "user": "Pronghorn", "owner": { "_id": "83b289663baba91cd982ed66", "provenance": "sunt", "username": "cillum ut velit anim ut", "firstname": "est do consectetur reprehenderit", "memberOf": [ { "groupId": "9023706eaa9ceb52a0b77c39", "aaaManaged": false }, { "groupId": "ec6479e6e1db4bd1c43f5c6e", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ut nisi" } ], "inactive": true, "lastLogin": "1962-08-15T08:53:44.859Z", "_meta": { "created": "1985-05-19T05:15:19.589Z", "updated": "1989-12-11T01:26:46.805Z", "migrationVersion": 52631886 }, "email": "elit sed Duis cupidatat" } } }, { "_id": "eF796D86-5cf1-6dE9-9854-8Ea3b99Be13d", "location": "Broker", "view": "non amet", "status": "error", "app": "dolor dolore nisi", "name": "nisi sit", "variables": { "decorators": [ { "type": "encryption", "pointer": "/~0/~1/~1" }, { "type": "encryption", "pointer": "/k9XQ1czzkWj/~1/hO/IYxGGfrcE" }, { "type": "encryption", "pointer": "/~0/~1/~0/~1/~1/U4eSVA/raQ/~1/~1/reIRsv/na" }, { "type": "encryption", "pointer": "/~1/~0/~1" }, { "type": "encryption", "pointer": "/~1/~1/u8/fljcs/T/~1/R,/~1/~1/~1/~0" } ] }, "last_updated": "1991-12-16T19:16:57.279Z", "encodingVersion": 1, "job": { "_id": "96727084e8a64e293feaab48", "task": "e28f", "name": "myCoolDocumentName", "description": "Some helpful information about the document", "ancestors": null }, "incomingRefs": [], "groups": [ { "_id": "f4c0e0924701c74f74ac3a06", "provenance": "incididunt", "name": "in nostrud", "description": "consectetur exercitation commodo eu", "memberOf": [ { "groupId": "2d6200d4d43388815182a6cb", "aaaManaged": false }, { "groupId": "28688ba2d640e7581eabe4af", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "dolor" }, { "roleId": "adipisicing mollit dolor Excepteur labore" }, { "roleId": "et pariatur ullamco tempor" } ], "inactive": false, "_meta": { "created": "1990-12-27T04:49:39.772Z", "updated": "1970-10-30T04:27:54.225Z", "migrationVersion": -36410882 } }, { "_id": "f3fbddf33a24fd04f374b708", "provenance": "ut esse aliqua", "name": "quis", "description": "deserunt voluptate", "memberOf": [ { "groupId": "13e3c83fa3bdd37d1d88fcac", "aaaManaged": false }, { "groupId": "779d11a33753dd0d8365111e", "aaaManaged": false }, { "groupId": "c20256f5124fb2a67f35777c", "aaaManaged": false }, { "groupId": "0c3d912fcc3f5bd55a0f26e7", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "in quis dolor" } ], "inactive": false, "_meta": { "created": "1988-08-08T03:49:35.357Z", "updated": "1962-04-14T07:01:52.801Z", "migrationVersion": 28704672 } }, "4fd2e9cb4f8aab80dc120f33", "21ca98c8d1d5cd33c84a3a9a" ], "type": "manual", "metrics": { "start_time": "dolore labore et", "claim_time": "1997-04-23T23:11:44.726Z", "end_time": 24721497.93465945, "server_id": "Excepteur proident", "finish_state": "success", "run_time": -73170200.3283388, "user": { "_id": "d9d077840a36e68ae8b3f78b", "provenance": "aliquip magna est velit do", "username": "Duis sint", "firstname": "reprehenderit", "memberOf": [ { "groupId": "ebc6a73263d09accff9c5578", "aaaManaged": true }, { "groupId": "6d093370465037c2389b3ce6", "aaaManaged": true }, { "groupId": "2c164d8028398419f9d63b9f", "aaaManaged": true }, { "groupId": "db91524033d7e9f9bf6c2939", "aaaManaged": true }, { "groupId": "5e8a6109224318c42585960a", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "quis veniam" }, { "roleId": "dolore tempor exercitation" }, { "roleId": "aute cillum pariatur aliqua ullamco" }, { "roleId": "quis eiusmod cupidatat in" } ], "inactive": true, "lastLogin": "2011-07-08T08:27:43.316Z", "_meta": { "created": "1949-03-11T01:02:33.736Z", "updated": "2012-11-01T19:50:16.233Z", "migrationVersion": 50928272 }, "email": "ad dolore eu in" }, "owner": { "_id": "be69d6775aee17737096fb96", "provenance": "occaecat", "username": "enim", "firstname": "do in eu", "memberOf": [ { "groupId": "68b2e6dffd9e54fe4fbb536a", "aaaManaged": true }, { "groupId": "52a7d4a691b83e096fe03b6b", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "veniam" }, { "roleId": "dolore incididunt adipisicing proident nisi" }, { "roleId": "esse sint id" }, { "roleId": "nisi magna tempor" } ], "inactive": true, "lastLogin": "1986-10-14T15:36:28.886Z", "_meta": { "created": "1978-11-23T04:06:11.824Z", "updated": "2009-12-21T18:14:08.061Z", "migrationVersion": -65938960 }, "email": "eiusmod aute Lorem qui" } } }, { "_id": "5ddEF3df-EB17-7f0d-cEF7-0AA7FD5cAea7", "location": "Broker", "view": null, "status": "running", "app": "velit", "name": "consectetur magna", "variables": { "decorators": [ { "type": "encryption", "pointer": "/NKgrAW/k6rVb,Yo/Xg/~0/oUf/~1/g06GyEag/~0/~0/OJ/~1" }, { "type": "encryption", "pointer": "/~1/CcN/My9v5/~1/~1/~1/o91qJp-gSE/~0/ClRPx3g/~1/~0" }, { "type": "encryption", "pointer": "/v-m/~0" }, { "type": "encryption", "pointer": "/L8IdPn" }, { "type": "encryption", "pointer": "/iX/Of4A3/~0/vxHORA" } ] }, "last_updated": "2023-12-19T07:36:51.493Z", "encodingVersion": 1, "job": { "_id": "e82eb1fc9dfd85e085e4bd07", "task": "3a1f", "name": "myCoolDocumentName", "description": "Some helpful information about the document", "ancestors": null }, "incomingRefs": [], "groups": [ "0c257d357c6a9325fe611727" ], "type": "manual", "metrics": { "start_time": "dolor deserunt irure", "claim_time": "1984-03-02T00:42:10.267Z", "end_time": -11519456.347265765, "server_id": "Lorem ullamco est reprehenderit do", "finish_state": "complete", "run_time": 94411788.14940506, "user": "", "owner": "" } } ], "metadata": { "skip": -53538750, "limit": 70156325, "total": 94872120, "nextPageSkip": -19499434, "previousPageSkip": null, "currentPageSize": -92677466 } }
{ "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" } } } ] }