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": "6c1946a0070470fb8d0003d0",
"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": "B1Ef42FdA115Ff1465Bc1Ed3",
"createdBy": "2bf3d2253e4a7e76d4b1917b",
"created": "2019-11-25T22:51:39.201Z",
"lastModifiedBy": "f2e3ef3cdcd8066f239cb0f8",
"lastUpdated": "2019-11-25T22:51:39.201Z",
"version": 1,
"tags": [
{
"_id": "ee40a4dfd53aee43cdd41fe3",
"name": "ut in incididunt pariatur nulla"
},
{
"_id": "40acffeae353fde442d1d0d8",
"name": "adipisicing elit"
},
{
"_id": "d2c6a707be0f0aac02d7bb3b",
"name": "esse aute eiusmod sed minim"
},
{
"_id": "0314b9f18e5df14019a41976",
"name": "nisi do"
},
{
"_id": "6467eb3bbd0ef471893b1213",
"name": "ad minim"
}
]
}