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": "1e74e358812d6dc39f7c6d58",
"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": "0f478c5c1c24f8a52311c198",
"created": "2019-11-25T22:51:39.201Z",
"lastModifiedBy": "8c4df068bfeccb5c9b8c5b25",
"lastUpdated": "2019-11-25T22:51:39.201Z",
"version": 1,
"tags": [
{
"_id": "7347caa11726cac1206cb637",
"name": "consequat et officia dolor est"
},
{
"_id": "f27eb4ad489220b637fc8810",
"name": "eiusmod nulla commodo occaecat"
},
{
"_id": "17c9ffb5255ecd2b39902655",
"name": "pariatur voluptate consectetur"
}
]
}