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": "40c4c24d177c3514483a1827",
"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": "8a8c2fbd72c186588adca2f5",
"created": "2019-11-25T22:51:39.201Z",
"lastModifiedBy": "69e0bee6bd247dc9faa98738",
"lastUpdated": "2019-11-25T22:51:39.201Z",
"version": 1,
"tags": [
{
"_id": "6ab8473567ff586c405aedc8",
"name": "ea nisi"
},
{
"_id": "06cebfbb1c9e65f0f01efc6d",
"name": "commodo consectetur velit minim"
}
]
}