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": "c27a687af47f6899cdb2eeaf",
"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": "50F1Da3aCdFcDbdF271fe3a3",
"createdBy": "392d02fda68bf57ba6a3737c",
"created": "2019-11-25T22:51:39.201Z",
"lastModifiedBy": "973e097a27517f95613c505a",
"lastUpdated": "2019-11-25T22:51:39.201Z",
"version": 1,
"tags": [
{
"_id": "86f1566879660bc2240b81c4",
"name": "et"
},
{
"_id": "df4a0bfa961a074d7ba90963",
"name": "in elit non nulla"
}
]
}