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": "ddbeb08f144efb7d2584efb1",
"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": "0aE40184c4147cAea6E84deB",
"createdBy": "1728ae6423502326fde2433a",
"created": "2019-11-25T22:51:39.201Z",
"lastModifiedBy": "4122b7bee77a76212f0ad0df",
"lastUpdated": "2019-11-25T22:51:39.201Z",
"version": 1,
"tags": [
{
"_id": "d3acae4bf3306cbd253a2acc",
"name": "enim aliqua dolor"
},
{
"_id": "ad18924327d811966a9346e7",
"name": "anim laboris"
},
{
"_id": "9c6f64a2f914bd4aa586ba47",
"name": "enim id deserunt"
}
]
}