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": "f5df004b06656f043f131e98",
"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": "ad41A46Ecb5af41F59BC3a6d",
"createdBy": "4c7ca0dca5e1df698246c958",
"created": "2019-11-25T22:51:39.201Z",
"lastModifiedBy": "2df9792ec78b381938de30b1",
"lastUpdated": "2019-11-25T22:51:39.201Z",
"version": 1,
"tags": [
{
"_id": "e8258a871e3562a53c7ffdb4",
"name": "aliqua et in in magna"
},
{
"_id": "b0fd790404f722d09da0d02b",
"name": "labore cillum in consectetur"
},
{
"_id": "f258418ff98a236c1b48852e",
"name": "Ut exercitation laboris"
},
{
"_id": "9ede81506b378dfacb93cf5f",
"name": "cupidatat enim cillum ut sint"
}
]
}