Summary
Get All Analytic Templates
Description
Get all Analytic Templates.
Route
GET /mop/listAnalyticTemplates
Roles
Parameters
Name | Type | Required | Description |
---|---|---|---|
This method has no parameters |
null
{ "type": "object", "properties": {}, "required": [], "additionalProperties": false }
Return
Name | Type | Description |
---|---|---|
listAnalyticTemplates | object | All Analytic Templates. |
[ { "name": "ASR1K-MOP", "_id": "ASR1K-MOP", "namespace": null, "os": "cisco-ios", "passRule": false, "prepostCommands": [ { "preRawCommand": "show running-config ip prefix-list", "postRawCommand": "show running-config ip prefix-list", "passRule": true, "rules": [ { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" } ], "preCommandResHTML": "Test a command or the template to get results here", "postCommandResHTML": "Test a command or the template to get results here" }, { "preRawCommand": "show running-config ip prefix-list", "postRawCommand": "show running-config ip prefix-list", "passRule": false, "rules": [ { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" } ], "preCommandResHTML": "Test a command or the template to get results here", "postCommandResHTML": "Test a command or the template to get results here" }, { "preRawCommand": "show running-config ip prefix-list", "postRawCommand": "show running-config ip prefix-list", "passRule": false, "rules": [ { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" } ], "preCommandResHTML": "Test a command or the template to get results here", "postCommandResHTML": "Test a command or the template to get results here" }, { "preRawCommand": "show running-config ip prefix-list", "postRawCommand": "show running-config ip prefix-list", "passRule": false, "rules": [ { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" } ], "preCommandResHTML": "Test a command or the template to get results here", "postCommandResHTML": "Test a command or the template to get results here" }, { "preRawCommand": "show running-config ip prefix-list", "postRawCommand": "show running-config ip prefix-list", "passRule": true, "rules": [ { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" } ], "preCommandResHTML": "Test a command or the template to get results here", "postCommandResHTML": "Test a command or the template to get results here" } ], "created": 1508182880981, "createdBy": "exampleUser", "lastUpdated": 1508182880981, "lastUpdatedBy": "exampleUser" }, { "name": "ASR1K-MOP", "_id": "ASR1K-MOP", "namespace": null, "os": "cisco-ios", "passRule": false, "prepostCommands": [ { "preRawCommand": "show running-config ip prefix-list", "postRawCommand": "show running-config ip prefix-list", "passRule": true, "rules": [ { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" } ], "preCommandResHTML": "Test a command or the template to get results here", "postCommandResHTML": "Test a command or the template to get results here" }, { "preRawCommand": "show running-config ip prefix-list", "postRawCommand": "show running-config ip prefix-list", "passRule": false, "rules": [ { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" } ], "preCommandResHTML": "Test a command or the template to get results here", "postCommandResHTML": "Test a command or the template to get results here" } ], "created": 1508182880981, "createdBy": "exampleUser", "lastUpdated": 1508182880981, "lastUpdatedBy": "exampleUser" }, { "name": "ASR1K-MOP", "_id": "ASR1K-MOP", "namespace": null, "os": "cisco-ios", "passRule": true, "prepostCommands": [ { "preRawCommand": "show running-config ip prefix-list", "postRawCommand": "show running-config ip prefix-list", "passRule": true, "rules": [ { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" } ], "preCommandResHTML": "Test a command or the template to get results here", "postCommandResHTML": "Test a command or the template to get results here" }, { "preRawCommand": "show running-config ip prefix-list", "postRawCommand": "show running-config ip prefix-list", "passRule": true, "rules": [ { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" } ], "preCommandResHTML": "Test a command or the template to get results here", "postCommandResHTML": "Test a command or the template to get results here" }, { "preRawCommand": "show running-config ip prefix-list", "postRawCommand": "show running-config ip prefix-list", "passRule": false, "rules": [ { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" } ], "preCommandResHTML": "Test a command or the template to get results here", "postCommandResHTML": "Test a command or the template to get results here" }, { "preRawCommand": "show running-config ip prefix-list", "postRawCommand": "show running-config ip prefix-list", "passRule": true, "rules": [ { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" } ], "preCommandResHTML": "Test a command or the template to get results here", "postCommandResHTML": "Test a command or the template to get results here" }, { "preRawCommand": "show running-config ip prefix-list", "postRawCommand": "show running-config ip prefix-list", "passRule": true, "rules": [ { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" } ], "preCommandResHTML": "Test a command or the template to get results here", "postCommandResHTML": "Test a command or the template to get results here" } ], "created": 1508182880981, "createdBy": "exampleUser", "lastUpdated": 1508182880981, "lastUpdatedBy": "exampleUser" }, { "name": "ASR1K-MOP", "_id": "ASR1K-MOP", "namespace": { "type": "project", "_id": "5cb5252a1bbc5a00def564c1", "name": "dolor ex veniam laborum exercitation", "accessControl": { "read": [ "proident deserunt occaecat" ], "execute": [ "aute anim est cupidatat irure", "pariatur enim Excepteur in laborum" ], "write": [ "aute cillum non anim consequat", "Excepteur culpa" ], "manage": [ "Lorem veniam mollit dolor", "ex pariatur", "eiusmod quis", "ad sunt ex", "non nulla voluptate ea" ] } }, "os": "cisco-ios", "passRule": true, "prepostCommands": [ { "preRawCommand": "show running-config ip prefix-list", "postRawCommand": "show running-config ip prefix-list", "passRule": true, "rules": [ { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" } ], "preCommandResHTML": "Test a command or the template to get results here", "postCommandResHTML": "Test a command or the template to get results here" }, { "preRawCommand": "show running-config ip prefix-list", "postRawCommand": "show running-config ip prefix-list", "passRule": false, "rules": [ { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" } ], "preCommandResHTML": "Test a command or the template to get results here", "postCommandResHTML": "Test a command or the template to get results here" }, { "preRawCommand": "show running-config ip prefix-list", "postRawCommand": "show running-config ip prefix-list", "passRule": true, "rules": [ { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" } ], "preCommandResHTML": "Test a command or the template to get results here", "postCommandResHTML": "Test a command or the template to get results here" }, { "preRawCommand": "show running-config ip prefix-list", "postRawCommand": "show running-config ip prefix-list", "passRule": false, "rules": [ { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" } ], "preCommandResHTML": "Test a command or the template to get results here", "postCommandResHTML": "Test a command or the template to get results here" }, { "preRawCommand": "show running-config ip prefix-list", "postRawCommand": "show running-config ip prefix-list", "passRule": false, "rules": [ { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" } ], "preCommandResHTML": "Test a command or the template to get results here", "postCommandResHTML": "Test a command or the template to get results here" } ], "created": 1508182880981, "createdBy": "exampleUser", "lastUpdated": 1508182880981, "lastUpdatedBy": "exampleUser" }, { "name": "ASR1K-MOP", "_id": "ASR1K-MOP", "namespace": null, "os": "cisco-ios", "passRule": true, "prepostCommands": [ { "preRawCommand": "show running-config ip prefix-list", "postRawCommand": "show running-config ip prefix-list", "passRule": true, "rules": [ { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" } ], "preCommandResHTML": "Test a command or the template to get results here", "postCommandResHTML": "Test a command or the template to get results here" }, { "preRawCommand": "show running-config ip prefix-list", "postRawCommand": "show running-config ip prefix-list", "passRule": false, "rules": [ { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" } ], "preCommandResHTML": "Test a command or the template to get results here", "postCommandResHTML": "Test a command or the template to get results here" }, { "preRawCommand": "show running-config ip prefix-list", "postRawCommand": "show running-config ip prefix-list", "passRule": true, "rules": [ { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" } ], "preCommandResHTML": "Test a command or the template to get results here", "postCommandResHTML": "Test a command or the template to get results here" }, { "preRawCommand": "show running-config ip prefix-list", "postRawCommand": "show running-config ip prefix-list", "passRule": false, "rules": [ { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" } ], "preCommandResHTML": "Test a command or the template to get results here", "postCommandResHTML": "Test a command or the template to get results here" }, { "preRawCommand": "show running-config ip prefix-list", "postRawCommand": "show running-config ip prefix-list", "passRule": true, "rules": [ { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" }, { "type": "regex", "preRegex": "", "postRegex": "", "evaluation": "=" } ], "preCommandResHTML": "Test a command or the template to get results here", "postCommandResHTML": "Test a command or the template to get results here" } ], "created": 1508182880981, "createdBy": "exampleUser", "lastUpdated": 1508182880981, "lastUpdatedBy": "exampleUser" } ]
{ "title": "listAnalyticTemplates", "type": "array", "items": { "$ref": "mopAnalyticTemplateDoc" } }