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": "69b47e9535e43bc4c0b03719",
"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": "cda5a29266a5adb2ec8f826d",
"created": "2019-11-25T22:51:39.201Z",
"lastModifiedBy": "ece532d6b64d5293b08f444e",
"lastUpdated": "2019-11-25T22:51:39.201Z",
"version": 1,
"tags": [
{
"_id": "04f227c46019e1643142c69b",
"name": "laboris ea ut aliquip"
},
{
"_id": "8bca6e1f63a45ccaac055787",
"name": "Lorem amet"
},
{
"_id": "7c5d176f68b638565b59dcc0",
"name": "commodo ipsum laboris aliqua in"
}
]
}