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": "2a52f5b5e22e08e6ed93c978",
"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",
"projectId": "a3322fd2eb6A6C5f2Bee9deC",
"createdBy": "7d19e073a6e6dc3415edb37d",
"created": "2019-11-25T22:51:39.201Z",
"lastModifiedBy": "eadeb44098bfff5d25e1f9a9",
"lastUpdated": "2019-11-25T22:51:39.201Z",
"version": 1,
"tags": [
{
"_id": "eba8fbe85d3e348f77b80f0d",
"name": "dolor"
},
{
"_id": "270f0108b4f51a9ec4355fda",
"name": "enim"
},
{
"_id": "57a09c2cb6351a45ef3f3d12",
"name": "in ut aliqua magna pariatur"
},
{
"_id": "36b5913fa170c5482c6baf41",
"name": "sunt amet ipsum"
},
{
"_id": "f71d7a0872650d9c6467647e",
"name": "in sit"
}
]
}