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": "81437a9a6406b19282191f02",
"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": "642eb1482bf5078d74a5e868",
"created": "2019-11-25T22:51:39.201Z",
"lastModifiedBy": "f55a2f8f09f365db72fe0450",
"lastUpdated": "2019-11-25T22:51:39.201Z",
"version": 1,
"tags": [
{
"_id": "b7ac3e3f21c176b738803fb2",
"name": "nulla eiusmod veniam"
},
{
"_id": "b0246e8b8bd77b3cef331d1f",
"name": "cillum Excepteur sed ea ad"
},
{
"_id": "f642f96a42e489e9db1fe7fd",
"name": "ad sit deserunt"
},
{
"_id": "9f2cf6a14ef7dc56c36c88cc",
"name": "sunt Duis"
}
]
}