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": "37b82160c921c418c2dc00d0",
"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": "c2502Aa5A3a5f3DaBD98E972",
"createdBy": "0ab4e53287cb0117da8b0763",
"created": "2019-11-25T22:51:39.201Z",
"lastModifiedBy": "ca217033b2c71455ec825773",
"lastUpdated": "2019-11-25T22:51:39.201Z",
"version": 1,
"tags": [
{
"_id": "31022a2bfc4511a2e1827069",
"name": "sed"
},
{
"_id": "dcb1c7bf8ccf572406a32030",
"name": "sed veniam dolore ad reprehenderit"
},
{
"_id": "a033cd367027e4acf00bd241",
"name": "adipisicing"
},
{
"_id": "4aee9e0cdc404f89860bfca5",
"name": "proident aliqua do"
}
]
}