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": "3c9423340882f20d423af363",
"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",
"createdBy": "f712a4710b33169a8e53060d",
"created": "2019-11-25T22:51:39.201Z",
"lastModifiedBy": "bcf049e882fc0b7541c06254",
"lastUpdated": "2019-11-25T22:51:39.201Z",
"version": 1,
"tags": [
{
"_id": "d636ed8c1b9b78a4f9a11863",
"name": "veniam"
},
{
"_id": "d8710b7c1c297871a24b2e4c",
"name": "sint quis mollit dolor consectetur"
},
{
"_id": "3ca5fb4751612d9ea99d8864",
"name": "in esse dolore nostrud qui"
}
]
}