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": "74f0ee6c1f5258316daee704",
"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",
"createdBy": "a3ca66268d906e9c66251d48",
"created": "2019-11-25T22:51:39.201Z",
"lastModifiedBy": "eb5c47bf79e8f7599ba03c28",
"lastUpdated": "2019-11-25T22:51:39.201Z",
"version": 1,
"tags": [
{
"_id": "56a43b3de00af3f9208cb337",
"name": "esse"
},
{
"_id": "63b6253a3af4d384430c0eb7",
"name": "anim quis sit reprehenderit"
}
]
}