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": "2fa852590bf3aeec5d5d2de0",
"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": "5912aaaa08eeedb947565e63",
"created": "2019-11-25T22:51:39.201Z",
"lastModifiedBy": "fcabe40129b8346c7b6500b8",
"lastUpdated": "2019-11-25T22:51:39.201Z",
"version": 1,
"tags": [
{
"_id": "d9038e0d54205830d2d7cb52",
"name": "adipisicing"
},
{
"_id": "04b9b901a1f9ff3a3e2b076e",
"name": "aliqua ad proident"
},
{
"_id": "06410be3dc29d2c8e53f9d66",
"name": "quis"
}
]
}