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": "a1f3f1549bbd315fc719ba40",
"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": "a44b68b8dd0172109844a921",
"created": "2019-11-25T22:51:39.201Z",
"lastModifiedBy": "2e2098b5b84bf2cbc843c362",
"lastUpdated": "2019-11-25T22:51:39.201Z",
"version": 1,
"tags": [
{
"_id": "bcbb2c2dfca04f0967e886fe",
"name": "ullamco occaecat Lorem consequat"
},
{
"_id": "b763577f550a0b851dc1706d",
"name": "dolore occaecat sint"
},
{
"_id": "08caa9c6f23fffbf5a3314ee",
"name": "labore"
}
]
}