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": "dolor", "accessControl": { "read": [ "elit dolore Excepteur laborum", "exercitation ex", "Ut", "incididunt Ut" ], "execute": [ "magna enim consectetur nostrud voluptate", "do", "in aliqua", "deserunt consectetur proident", "sint Duis cillum eu" ], "write": [ "ad officia", "Excepteur in labore esse" ], "manage": [ "officia aliqua quis occaecat", "Excepteur elit et quis dolore" ] } }, "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": "=" } ], "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": 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": "=" } ], "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": 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": "=" }, { "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" }, { "name": "ASR1K-MOP", "_id": "ASR1K-MOP", "namespace": { "type": "project", "_id": "5cb5252a1bbc5a00def564c1", "name": "sint proident mollit in consectetur", "accessControl": { "read": [ "nostrud tempor irure", "tempor quis ut officia deserunt", "et", "velit sunt qui non sed", "sunt voluptate" ], "execute": [ "consequat Ut reprehenderit sed in", "deserunt dolore dolor pariatur proident", "magna et fugiat do ullamco", "irure do reprehenderit ut consectetur" ], "write": [ "quis", "Ut", "dolor" ], "manage": [ "aliquip adipisicing nostrud", "occaecat dolore est", "eu aute voluptate nostrud laboris" ] } }, "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": 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": 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": 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": "=" } ], "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": "esse", "accessControl": { "read": [ "magna consequat non", "sint anim aliquip cupidatat" ], "execute": [ "est irure exercitation tempor" ], "write": [ "voluptate" ], "manage": [ "dolor labore", "nostrud dolor proident", "labore ullamco ut", "in fugiat ea in" ] } }, "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": "=" }, { "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" } ]
{ "title": "listAnAnalyticTemplate", "type": "array", "items": { "$ref": "mopAnalyticTemplateDoc" } }