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": "e8ded881fb198f708f2214ea",
"name": "test",
"group": "Sample group",
"command": "show ip br",
"description": "description",
"template": "Value FIRST_WORD (S+)\n\nStart\n ^FIRST_WORD.* -> Record",
"data": "some sample text to match against",
"type": "test",
"projectId": null,
"createdBy": "1d95384492bc76dfbe8afc47",
"created": "2019-11-25T22:51:39.201Z",
"lastModifiedBy": "3cef844dbafd6e3dccb1762e",
"lastUpdated": "2019-11-25T22:51:39.201Z",
"version": 1,
"tags": [
{
"_id": "541ebc379d65cd43bff9c61d",
"name": "in reprehenderit adipisicing Duis"
},
{
"_id": "e6cc170877d81914e8b83343",
"name": "adipisicing ad Ut fugiat qui"
},
{
"_id": "17955cac5fbb4ff136b89834",
"name": "officia eu ut laborum dolore"
},
{
"_id": "d13de66044c555561a46354e",
"name": "est dolore Duis ipsum"
}
]
}