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": "52bb3620872e653a97bd122c",
"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",
"createdBy": "a2e9179eef233509cf9e4ca5",
"created": "2019-11-25T22:51:39.201Z",
"lastModifiedBy": "cb733b223f52c021de70ab1b",
"lastUpdated": "2019-11-25T22:51:39.201Z",
"version": 1,
"tags": [
{
"_id": "14cdbeedcdb225a27e4a029c",
"name": "aute do est aliquip Excepteur"
},
{
"_id": "2ed8641fd9b55423f4e0c625",
"name": "reprehenderit consectetur nulla"
},
{
"_id": "84521799be3e09164eafd1f2",
"name": "culpa in tempor id dolor"
},
{
"_id": "bfee7cbd4f88ad205ef52c96",
"name": "adipisicing laborum ut"
},
{
"_id": "6fd31ab15327b177935fb83f",
"name": "sunt quis"
}
]
}