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": "03de7d9138d54049086d8875",
"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": "5a31f3dc4677c20f3695fe74",
"created": "2019-11-25T22:51:39.201Z",
"lastModifiedBy": "b3287edb7725bab0012c5da3",
"lastUpdated": "2019-11-25T22:51:39.201Z",
"version": 1,
"tags": [
{
"_id": "6225175e975fe53f432dbe8e",
"name": "Duis velit"
},
{
"_id": "35e0bdd8b4980b4b1aafd9dd",
"name": "Ut sit cupidatat"
},
{
"_id": "a370a53b3a6961162ed3227b",
"name": "aliquip cupidatat ex sint"
}
]
}