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": "aae3a613c73c8b2669bb726c",
"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": "6d8a7239fbb529541adf2850",
"created": "2019-11-25T22:51:39.201Z",
"lastModifiedBy": "13969ebc8111eb6c536d932a",
"lastUpdated": "2019-11-25T22:51:39.201Z",
"version": 1,
"tags": [
{
"_id": "a73533073be8d4d198b56ba6",
"name": "cillum culpa sed adipisicing do"
},
{
"_id": "4b5a6803a4116d007cbc9c82",
"name": "ad nostrud qui"
},
{
"_id": "67b7f868167afc18998f7410",
"name": "Lorem ex pariatur"
},
{
"_id": "d17b981cf9a6a44d901b345a",
"name": "reprehenderit non"
},
{
"_id": "b8bca2c8c815208e6acc06fa",
"name": "sed"
}
]
}