Summary
Get an Analytic Template by Name
Description
Get an Analytic Template by name.
Route
GET /mop/listAnAnalyticTemplate/:name
Roles
admin
engineering
support
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
name |
string |
yes |
Name of the Analytic Template. |
Copied to Clipboard
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
listAnAnalyticTemplate |
array |
Single Analytic Template wrapped in an array. |
Copied to Clipboard
[
{
"name": "ASR1K-MOP",
"_id": "ASR1K-MOP",
"namespace": {
"type": "project",
"_id": "5cb5252a1bbc5a00def564c1",
"name": "ut aute magna est",
"accessControl": {
"read": [
"esse laborum dolor",
"anim aliqua ut",
"qui voluptate commodo",
"eu esse ut"
],
"execute": [
"nisi dolore dolore non tempor",
"magna",
"eu cupidatat exercitation quis officia"
],
"write": [
"elit",
"consectetur est adipisicing anim",
"velit consequat Duis deserunt quis",
"ullamco exercitation officia laboris eiusmod"
],
"manage": [
"magna voluptate",
"dolore eu ipsum",
"in incididunt aliquip labore",
"ullamco exercitation",
"irure aute qui occaecat minim"
]
}
},
"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": 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"
}
]
Copied to Clipboard
{
"title": "listAnAnalyticTemplate",
"type": "array",
"items": {
"$ref": "mopAnalyticTemplateDoc"
}
}