Summary
Gets a device template
Description
Gets a new device template in pronghorn
Route
POST /configuration_manager/templates/search
Roles
admin
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
name |
string |
yes |
Name of the device template. |
options |
object |
yes |
Additional parameters (optional) |
Copied to Clipboard
{
"name": "tempor aute qui nulla laborum"
}
Copied to Clipboard
{
"type": "object",
"properties": {
"name": {
"title": "name",
"type": "string"
},
"options": {
"title": "options",
"type": "object",
"properties": {}
}
},
"required": [
"name",
"options"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
data |
object |
Result of creating a new device template |
Copied to Clipboard
{
"total": 40783562.219967425
}
Copied to Clipboard
{
"title": "data",
"properties": {
"total": {
"type": "number",
"example": 1
},
"list": {
"type": "object",
"example": [
{
"id": "610315295595a5fcb99f8ce2",
"name": "Cisco Login Banner",
"template": "banner login {{ bannerBody }}",
"variables": {
"bannerBody": "Welcome to this Cisco Device."
},
"created": "2021-07-29T20:52:57.378Z",
"updated": "2021-07-29T20:52:57.378Z",
"createdBy": "5eaaf3796b16027c8aeb612a",
"updatedBy": "5eaaf3796b16027c8aeb612a",
"gbac": {
"write": [],
"read": []
}
}
]
}
}
}