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": 25, "skip": 50, "order": 1, "sort": "name", "include": "name", "exclude": "_id,description", "in": "labore dolore id ea", "not-in": "incididunt sint sed Ut", "equals": "in dolor", "contains": "mollit exercitation occaecat", "starts-with": "nulla", "ends-with": "voluptate sunt aliquip irure eu", "dereference": "eu aute commodo enim in", "gt": "aliqua officia voluptate laborum enim", "gte": "in nisi dolor pariatur elit", "lt": "dolore adipisicing sint exercitation", "lte": "eu magna eiusmod", "q": "Lorem", "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": "B658039F-Ea29-AFaB-A1f3-89D6FDA4427e", "location": "Application", "view": null, "status": "canceled", "app": "nulla laborum ut amet", "name": "exercitation qui eiusmod", "variables": { "decorators": [ { "type": "encryption", "pointer": "/~0/~1/~1/J.l9D/~0/qJuP7zRWH-/~1/o7hTXPm" }, { "type": "encryption", "pointer": "/~0/~0/lhfqYjg/~0/~0/ODz7/~1/~0/AalwGSUY8Mc" }, { "type": "encryption", "pointer": "/mOV5gc,57Z/~0/~1" }, { "type": "encryption", "pointer": "/~0/l/~1/skcNk10/iJlv" } ] }, "last_updated": "1995-08-19T23:52:08.186Z", "encodingVersion": 1, "job": { "_id": "f5ab895d65c57fa8d51f33d9", "task": "b4f", "name": "myCoolDocumentName", "description": "Some helpful information about the document", "ancestors": null }, "groups": [ { "_id": "7bc1155bba8bae5a25cf13b5", "provenance": "cillum minim", "name": "adipisicing magna est", "description": "amet officia in commodo", "memberOf": [ { "groupId": "ee181181438d0392e1bb78df", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "sunt proident" }, { "roleId": "et nisi" }, { "roleId": "fugiat" } ], "inactive": true, "_meta": { "created": "2003-07-12T01:09:00.034Z", "updated": "1966-02-17T00:44:02.069Z", "migrationVersion": 8998467 } }, { "_id": "6b389ad926085098a9771d14", "provenance": "eu culpa", "name": "anim ex ea labore", "description": "non aliqua incididunt in in", "memberOf": [ { "groupId": "cbc516173b49674bfc75487a", "aaaManaged": false }, { "groupId": "475f345bbb9c496e4d915a59", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "qui proident" }, { "roleId": "minim" } ], "inactive": false, "_meta": { "created": "1974-02-05T17:22:23.607Z", "updated": "1964-11-21T17:09:23.253Z", "migrationVersion": -92447885 } }, "a228f8f549cbb5f5dce0d0cd", "e380741ae2d1f387c1feb5ce", { "_id": "134e912ccb44af949dbaa3fd", "provenance": "dolore", "name": "reprehenderit irure", "description": "est sed", "memberOf": [ { "groupId": "6a54f62375723534667d6eb5", "aaaManaged": false }, { "groupId": "4caed67c4b7c427ce57c7643", "aaaManaged": false }, { "groupId": "76ce99fbdda4f7d1df8efef8", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ad aute Lorem dolore" }, { "roleId": "ullamco officia amet" }, { "roleId": "dolor sunt culpa cillum ex" } ], "inactive": true, "_meta": { "created": "1990-09-09T01:52:57.49Z", "updated": "1954-08-13T04:36:20.936Z", "migrationVersion": -54578633 } } ], "type": "manual", "metrics": { "start_time": "dolor et Ut dolore", "claim_time": "2013-05-10T11:38:36.226Z", "end_time": -23544254.612698182, "server_id": "nostrud labore", "finish_state": "canceled", "run_time": -37643716.7557949, "user": "a2ec6b051f61ef42cc985ded", "owner": "798601cb1a7dd4b95f33f6d5" } }, { "_id": "6D8F7fb7-347F-E2AE-F6d5-F5AEb3b3BCf1", "location": "Application", "view": null, "status": "error", "app": "laborum eiusmod ut", "name": "Ut ipsum anim", "variables": { "decorators": [ { "type": "encryption", "pointer": "/j/~1" }, { "type": "encryption", "pointer": "/~1/dK6O/~0/~1/pP3WRL7x//Vahp6kZ/~0" }, { "type": "encryption", "pointer": "/s8J3tNVA/~0/t,rh2/~0/~1/~0/~1/~0" }, { "type": "encryption", "pointer": "/~1/~1/p6GCQht/~1/N/~0/~1/rDFvnLH6/Pj9UiwbQlR" } ] }, "last_updated": "2001-05-07T14:47:42.811Z", "encodingVersion": 1, "job": { "_id": "a9cefcc53e679aaf0a03d95a", "task": "b4f", "name": "myCoolDocumentName", "description": "Some helpful information about the document", "ancestors": null }, "groups": [ { "_id": "75ed9ad5dca3c5e8afccc832", "provenance": "ipsum tempor esse", "name": "cillum in", "description": "elit veniam", "memberOf": [ { "groupId": "43ddeb7932938a394f08194c", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "anim proident" }, { "roleId": "non ullamco culpa" }, { "roleId": "nostrud" }, { "roleId": "deserunt Lorem in voluptate" }, { "roleId": "elit Duis cupidatat labore" } ], "inactive": false, "_meta": { "created": "2018-05-10T14:15:33.749Z", "updated": "1970-11-12T19:48:59.653Z", "migrationVersion": 73545116 } }, "40444e6932307d3ff50bb9e5", { "_id": "c8852fd8d5f325c99c6c520b", "provenance": "eiusmod", "name": "minim esse exercitation do", "description": "aute", "memberOf": [ { "groupId": "9d53b217a0f909dbfcbd7898", "aaaManaged": false }, { "groupId": "564eeb24b70a52cca7677ead", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "sit consequat" }, { "roleId": "ullamco Lorem proident qui eiusmod" }, { "roleId": "culpa commodo est in proident" }, { "roleId": "ut sunt irure incididunt" } ], "inactive": false, "_meta": { "created": "2019-12-12T15:19:00.789Z", "updated": "1975-10-19T01:36:44.354Z", "migrationVersion": 76468965 } }, "8f79596a5b925631a22248df", "bc6978f544a8793cb31c53ac" ], "type": "manual", "metrics": { "start_time": "ut consectetur Lorem", "claim_time": "1953-05-01T02:57:25.945Z", "end_time": 8280877.096007526, "server_id": "amet", "finish_state": "success", "run_time": -54743863.440306924, "user": "Pronghorn", "owner": "0473d45ae9cf2af6b70bb667" } }, { "_id": "bf19B8FE-fECa-Dc9f-fd92-EAa9De59DFf6", "location": "Adapter", "view": null, "status": "running", "app": "non", "name": "magna", "variables": { "decorators": [ { "type": "encryption", "pointer": "/Qg/vLxbcs/xF,/e/ONp/HU+wL,aKs/~0/sl-" }, { "type": "encryption", "pointer": "/~1/~0" }, { "type": "encryption", "pointer": "/~0/~0/z/J5eP-UH/~1/i2GhuBg" }, { "type": "encryption", "pointer": "/y3/~1/~0/~0/~1/~0/~0/y4O6gexT/OsLlD+98oo/~0/Uj0X" }, { "type": "encryption", "pointer": "/~1/~0/bo8JxKfT1-T/~1/a-SVBLU3/~0/V1J/~0" } ] }, "last_updated": "1985-05-22T21:41:57.011Z", "encodingVersion": 1, "job": { "_id": "7d2979f87f17a0b2b30e8f49", "task": "3a1f", "name": "myCoolDocumentName", "description": "Some helpful information about the document", "ancestors": null }, "groups": [ "225c558ff268fe9047632e3c" ], "type": "manual", "metrics": { "start_time": "velit exercitation consequat cupidatat", "claim_time": "1976-02-17T05:45:09.901Z", "end_time": 19601306.162705794, "server_id": "sed exercitation reprehenderit qui nisi", "finish_state": "scheduled", "run_time": 23209167.6727428, "user": { "_id": "ba817faaa44bbde4e526b546", "provenance": "do cillum in Duis", "username": "dolore", "firstname": "Ut eiusmod", "memberOf": [ { "groupId": "c860897114232f25cd385d6c", "aaaManaged": true }, { "groupId": "9f671113ae47e01c09882f14", "aaaManaged": false }, { "groupId": "2fd2e89a212376167ef2203d", "aaaManaged": false }, { "groupId": "0e6e3612b2725ad7c3843710", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "dolor et ullamco" }, { "roleId": "fugiat laborum ipsum" } ], "inactive": true, "lastLogin": "2014-05-30T01:12:15.654Z", "_meta": { "created": "1991-04-11T13:15:17.092Z", "updated": "2022-02-23T22:40:38.138Z", "migrationVersion": 41568801 }, "email": "dolore est consectetur deserunt" }, "owner": "Pronghorn" } }, { "_id": "eB6d0E96-B34A-e59f-Fb54-bcE8cE5F4070", "location": "Application", "view": "est mollit", "status": "incomplete", "app": "in", "name": "ut dolor in", "variables": { "decorators": [ { "type": "encryption", "pointer": "/~1/PzNC8fCTYWv/Lg7V/~1/FdYtDtyqll//Vqlwg2EW5n/~0/wA+VHRmRIh,/eyS23qtY-4F/~1/O9fMMl" } ] }, "last_updated": "1970-01-16T20:59:15.754Z", "encodingVersion": 1, "job": { "_id": "6d5b4ecce737e9b6e78aea90", "task": "3a1f", "name": "myCoolDocumentName", "description": "Some helpful information about the document", "ancestors": null }, "groups": [ "e1dd534ecd287a2ebce2928d", "fa8e099864801bd243beb877", "d0189759e846383c6e56eb17", { "_id": "2db45b8354c86397c1acc9ae", "provenance": "pariatur in consequat magna ut", "name": "elit sed esse", "description": "deserunt sit Duis velit", "memberOf": [ { "groupId": "76cc6522aee802971d414c0a", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "incididunt minim Ut Lorem" } ], "inactive": false, "_meta": { "created": "1991-08-30T23:05:11.1Z", "updated": "1955-03-03T05:28:11.82Z", "migrationVersion": -56122059 } }, { "_id": "bf76a7569969246acc1d3c60", "provenance": "ullamco", "name": "mollit aute id occaecat consequat", "description": "dolor", "memberOf": [ { "groupId": "4005cc4aefe44720b3f8e9a1", "aaaManaged": false }, { "groupId": "f8be9fd630e5f2ce366eb3c1", "aaaManaged": false }, { "groupId": "2fbe22db0d47e2cd31412718", "aaaManaged": false }, { "groupId": "de648133a7f5a577c6d197ff", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "nostrud ullamco" } ], "inactive": true, "_meta": { "created": "1982-11-09T00:51:20.247Z", "updated": "1948-01-16T19:32:52.944Z", "migrationVersion": -32680654 } } ], "type": "manual", "metrics": { "start_time": "do", "claim_time": "1955-08-27T09:44:18.602Z", "end_time": 62492569.0133574, "server_id": "deserunt occaecat Lorem nostrud mollit", "finish_state": "error", "run_time": -84486983.07838386, "user": "749a8c026b6574d01b1f4337", "owner": { "_id": "fd213ef57649ad6fd8b85d4d", "provenance": "ad", "username": "minim", "firstname": "fugiat dolor ut eu", "memberOf": [ { "groupId": "3dbd0122422c6ce005047d5b", "aaaManaged": true }, { "groupId": "6c204da4d5c95632693ed5c6", "aaaManaged": true }, { "groupId": "04585903d46e4f9fe757361c", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ullamco" }, { "roleId": "ad eu minim dolor consectetur" } ], "inactive": false, "lastLogin": "1982-08-29T05:28:09.542Z", "_meta": { "created": "2018-08-12T21:48:36.626Z", "updated": "1986-03-11T01:19:53.326Z", "migrationVersion": -55399917 }, "email": "id sit aliqua veniam consectetur" } } }, { "_id": "60D9bBEe-2a65-d6C7-1491-2CBA2484DddE", "location": "Adapter", "view": null, "status": "complete", "app": "fugiat", "name": "laboris", "variables": { "decorators": [ { "type": "encryption", "pointer": "/XRPW9R,3/~1/JJC/~1/~1/~1/j3Tsi+/Z/~1/~0/IbSwkxz" } ] }, "last_updated": "1987-11-11T10:22:04.386Z", "encodingVersion": 1, "job": { "_id": "609a7b694298354a6128ea5f", "task": "3a1f", "name": "myCoolDocumentName", "description": "Some helpful information about the document", "ancestors": null }, "groups": [ "f4b00bc4eaa315c85aa5142f", { "_id": "50377360b9a977296e7a3847", "provenance": "aliquip", "name": "sint proident sunt", "description": "sint dolore laboris labore", "memberOf": [ { "groupId": "47941b181c23b2f30357bf47", "aaaManaged": true }, { "groupId": "2076b1b2aadc47b9a9039b2c", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "deserunt in irure" }, { "roleId": "sunt eu" }, { "roleId": "nulla aliqua irure minim" }, { "roleId": "veniam proident" }, { "roleId": "proident minim aliqua est Excepteur" } ], "inactive": false, "_meta": { "created": "1967-07-23T03:39:38.686Z", "updated": "1948-08-10T09:40:24.73Z", "migrationVersion": 28715456 } } ], "type": "manual", "metrics": { "start_time": "occaecat nisi exercitation", "claim_time": "1979-04-03T03:48:24.343Z", "end_time": -53096300.8424342, "server_id": "Duis exercitation", "finish_state": "scheduled", "run_time": -67720161.78840996, "user": { "_id": "188f21e73e7ff24c5e4a3d85", "provenance": "Duis", "username": "dolore nulla ut dolor", "firstname": "proident quis do", "memberOf": [ { "groupId": "30082055e977fb931e64e08a", "aaaManaged": false }, { "groupId": "cae2c7e4f2c3d6c33f346d74", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "sed Lorem Excepteur" } ], "inactive": true, "lastLogin": "1973-03-12T12:22:33.916Z", "_meta": { "created": "1945-06-10T22:46:00.44Z", "updated": "1993-03-03T19:08:38.628Z", "migrationVersion": -73215492 }, "email": "Duis Lorem" }, "owner": "630e5aad42fdc277131ace05" } } ], "metadata": { "skip": -94797014, "limit": 83139625, "total": -43402567, "nextPageSkip": null, "previousPageSkip": 83023162, "currentPageSize": -26241716 } }
{ "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" } } } ] }