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": "4c06f28a151bb7e0023790c9",
"name": "test",
"device": "Sample group",
"command": "show ip br",
"template": "Value FIRST_WORD (S+)\n\nStart\n ^FIRST_WORD.* -> Record",
"text": "some sample text to match against",
"type": "test",
"createdBy": "201d500230aa279ae58f363e",
"created": "2019-11-25T22:51:39.201Z",
"lastModifiedBy": "d7f74b0d6ba0a596417c9f9f",
"lastUpdated": "2019-11-25T22:51:39.201Z",
"version": 1,
"tags": [
{
"_id": "429b261296013efb4b7740d5",
"name": "amet"
},
{
"_id": "5d58db4aa352275c15331894",
"name": "ut tempor dolore"
},
{
"_id": "09a3325494b548adb0e2b9c0",
"name": "eu"
}
]
}