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": "2e4697391de785253e63d5fa",
"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": "79bb2b6a68a4224154d13965",
"created": "2019-11-25T22:51:39.201Z",
"lastModifiedBy": "25cef15b4936809c5e4ee75a",
"lastUpdated": "2019-11-25T22:51:39.201Z",
"version": 1,
"tags": [
{
"_id": "5a420e3ce5754eb0356a2980",
"name": "dolor"
},
{
"_id": "f9de0d98c138135176ea2d05",
"name": "dolore deserunt ex qui"
},
{
"_id": "9c9e335f03258cc493a36ea6",
"name": "incididunt deserunt proident"
},
{
"_id": "7e52e6793907ffe4dc32768e",
"name": "labore nisi consequat eiusmod ut"
},
{
"_id": "bea5756cbfb46c65faff2e74",
"name": "qui laboris ea"
}
]
}