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": "21002c53c4a08e9861642b1b",
"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": "db952b2740119df00254d0a6",
"created": "2019-11-25T22:51:39.201Z",
"lastModifiedBy": "6393a9c32501d8fc25eeea78",
"lastUpdated": "2019-11-25T22:51:39.201Z",
"version": 1,
"tags": [
{
"_id": "8494c46e7cc10dc6f089a5d0",
"name": "elit"
},
{
"_id": "79ae0c697b4bba0d83549389",
"name": "consectetur incididunt cillum anim in"
},
{
"_id": "0895459633dd99a1301eda79",
"name": "laboris qui"
}
]
}