Summary
Get an Analytic Template by Name
Description
Get an Analytic Template by name.
Route
GET /mop/listAnAnalyticTemplate/:name
Roles
Parameters
Name | Type | Required | Description |
---|---|---|---|
name | string | yes | Name of the Analytic Template. |
null
{ "type": "object", "properties": {}, "required": [], "additionalProperties": false }
Return
Name | Type | Description |
---|---|---|
listAnAnalyticTemplate | array | Single Analytic Template wrapped in an array. |
[ { "name": "ASR1K-MOP", "_id": "ASR1K-MOP", "namespace": { "type": "project", "_id": "5cb5252a1bbc5a00def564c1", "name": "non adipisicing cillum esse eu", "accessControl": { "read": [ "non Excepteur adipisicing proident amet", "cupidatat et velit officia", "in officia occaecat in nulla", "amet labore commodo sint Ut", "cupidatat in laborum reprehenderit deserunt" ], "execute": [ "laborum ut", "laboris officia non consectetur eu", "veniam magna minim", "ut sunt culpa commodo", "sunt Excepteur in" ], "write": [ "dolor velit esse ex sunt", "qui" ], "manage": [ "in non qui ut", "Duis", "irure cupidatat et in incididunt" ] } }, "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": "=" }, { "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": "dolore tempor ad", "accessControl": { "read": [ "laborum reprehenderit non mollit" ], "execute": [ "laborum in sit velit voluptate", "est reprehenderit", "Lorem nisi cillum ea dolor" ], "write": [ "non ut aliqua fugiat", "Ut nostrud fugiat culpa" ], "manage": [ "enim cupidatat velit anim et", "anim labore ipsum elit in" ] } }, "os": "cisco-ios", "passRule": true, "prepostCommands": [ { "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": "=" }, { "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": 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": "=" }, { "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": "in ipsum anim", "accessControl": { "read": [ "aute voluptate ex veniam non", "exercitation eiusmod velit", "est irure voluptate", "proident quis ut" ], "execute": [ "magna Ut", "sunt cillum qui amet", "ut irure" ], "write": [ "incididunt velit dolor eu Duis", "magna ipsum id occaecat in", "sint occaecat", "mollit est consectetur voluptate labore", "magna nostrud et" ], "manage": [ "officia" ] } }, "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": true, "rules": [ { "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": "=" } ], "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": 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": "=" } ], "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": "=" } ], "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": "=" } ], "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": "=" } ], "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": "consequat", "accessControl": { "read": [ "minim", "mollit velit adipisicing irure laboris", "dolor in" ], "execute": [ "deserunt incididunt" ], "write": [ "anim sint velit cillum pariatur", "sit Excepteur", "labore consequat veniam" ], "manage": [ "magna eu id", "magna ut eu dolore", "sint ex consectetur deserunt tempor", "sit exercitation proident eiusmod" ] } }, "os": "cisco-ios", "passRule": false, "prepostCommands": [ { "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": "=" }, { "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": "listAnAnalyticTemplate", "type": "array", "items": { "$ref": "mopAnalyticTemplateDoc" } }