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": "bee791ac2c3522e3bdcd81cd",
"name": "test",
"group": "Sample group",
"command": "show ip br",
"description": "description",
"template": "Value FIRST_WORD (S+)\n\nStart\n ^FIRST_WORD.* -> Record",
"data": "some sample text to match against",
"type": "test",
"projectId": "4a1ED92Cf9d1d0ca18C06BBb",
"createdBy": "47e6fa5f341afcc6bd8c6d59",
"created": "2019-11-25T22:51:39.201Z",
"lastModifiedBy": "c8bbad572603493c4bb1729b",
"lastUpdated": "2019-11-25T22:51:39.201Z",
"version": 1,
"tags": [
{
"_id": "c685616b56b44cc0f89c26d9",
"name": "ut deserunt do voluptate"
},
{
"_id": "696cbc3df9af240981d3d0f5",
"name": "amet dolor"
},
{
"_id": "7041afe2ec910059fdd9572b",
"name": "non exercitation"
},
{
"_id": "4a8ed65ad3ed3d0a33d8436f",
"name": "sed adipisicing in Lorem"
}
]
}