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": "ff2d8e209674e14836b51a58",
"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": "fdf8538c69aced5f5626aee2",
"created": "2019-11-25T22:51:39.201Z",
"lastModifiedBy": "1be8e7246c555f6f4b4fe51a",
"lastUpdated": "2019-11-25T22:51:39.201Z",
"version": 1,
"tags": [
{
"_id": "447a73dc227d4e5bd735aff1",
"name": "in ut eu aliqua"
},
{
"_id": "b6f0c302e51322fc6d64c19a",
"name": "eiusmod"
},
{
"_id": "034e36a323c8fcd0997ecb74",
"name": "irure ut nostrud mollit aliquip"
}
]
}