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": "fa566048a9bd6eac2d694fa6",
"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": "4d739d2f491ef8f9ac4d2207",
"created": "2019-11-25T22:51:39.201Z",
"lastModifiedBy": "6df536f1bba8b4bcaaba1520",
"lastUpdated": "2019-11-25T22:51:39.201Z",
"version": 1,
"tags": [
{
"_id": "c167a9434d4374e9ebe4588c",
"name": "aute"
},
{
"_id": "139c2148ab58a092dd4c9fe6",
"name": "sit"
},
{
"_id": "298748c5fe66fe84447c928b",
"name": "sint reprehenderit ipsum"
},
{
"_id": "07da1c80663555ac1a5d4668",
"name": "Excepteur Lorem"
}
]
}