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": "1ed1cd540db80ac2df0a2fc2",
"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",
"projectId": null,
"createdBy": "0e3e6be7412d770e28d9f9df",
"created": "2019-11-25T22:51:39.201Z",
"lastModifiedBy": "489b54bc674c7631aa9ef0d1",
"lastUpdated": "2019-11-25T22:51:39.201Z",
"version": 1,
"tags": [
{
"_id": "0155800b83b7ce1168172a94",
"name": "proident elit"
},
{
"_id": "c5a8625107990c69b306fe46",
"name": "quis"
}
]
}