Summary
Exports a template document.
Description
Exports a template document.
Route
GET /automation-studio/templates/:id/export
Roles
admin
apiwrite
designer
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
id |
string |
yes |
Template id. |
Copied to Clipboard
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
exported |
object |
Exported representation of the template. |
Copied to Clipboard
{
"_id": "20dda94105cb827417372576",
"name": "test",
"device": "Sample group",
"command": "show ip br",
"template": "Value FIRST_WORD (S+)\n\nStart\n ^FIRST_WORD.* -> Record",
"text": "some sample text to match against",
"type": "test",
"createdBy": "f3165b7eb8b91995317537e6",
"created": "2019-11-25T22:51:39.201Z",
"lastModifiedBy": "134eda8bfa6f2c3ec0fae696",
"lastUpdated": "2019-11-25T22:51:39.201Z",
"version": 1,
"tags": [
{
"_id": "1b8fdf6f87ca1f333780975b",
"name": "consequat ad"
},
{
"_id": "2d1268ba3d26a98d264ab81d",
"name": "in eiusmod minim"
},
{
"_id": "e72b9bc507041c3e873c0743",
"name": "exercitation"
},
{
"_id": "45001acf9f62ed353b5b1717",
"name": "eiusmod laboris adipisicing"
}
]
}