Summary
Get a Smart Template form
Description
Get a Smart Template Form using its name
Route
GET /smart_template/form/name/:name
Roles
admin
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
name |
string |
yes |
Name of the smart template object |
Copied to Clipboard
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
form |
object |
Form Entity |
Copied to Clipboard
{
"name": "Form 123",
"children": [
{
"properties": {
"type": "leafref",
"path": "/ncs:devices/ncs:device/ncs:name",
"min": "1",
"max": "4",
"minLength": null,
"maxLength": null,
"default": true,
"direction": "vertical",
"required": false,
"enforce": false,
"hidden": false
},
"id": "reprehenderit exercitation ipsum",
"type": "container",
"element": "{\"type\":\"service_model\",\"id\":{\"name\":\"/ncs:services/devices:stringified_json\"}",
"name": "vlan_id_123",
"display_name": "vlan",
"source_type": "service_model",
"source": "/ncs:services/abc_devices:ios.device",
"key": "service.vlanid"
}
],
"elements": [
{
"type": "service_model",
"id": {
"name": "/ncs:services/test_devices:service_name"
}
}
],
"_id": "90d698bf-d28f-9a39-d7b5-5c4381c0f1e9",
"groups": [
"9fa3f81eaed10561bbe6c655",
"4c05d567d78522309cf178ab",
"5b0c19cde121862bdfa1a78b"
],
"created": "1962-07-15T19:13:00.851Z",
"created_by": "b1c8a32df8555ff0d4ad5133",
"last_updated": "1979-08-24T09:19:26.527Z",
"last_updated_by": "82f6baca5e625b38c19aa69d",
"tags": [
"ut in"
]
}