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": "e93da5719e07f12983173cf8",
"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": "e8a3cc3e979a1a4bc5db52f2",
"created": "2019-11-25T22:51:39.201Z",
"lastModifiedBy": "7417ea6d98019c242a0f4f26",
"lastUpdated": "2019-11-25T22:51:39.201Z",
"version": 1,
"tags": [
{
"_id": "45edaffb40011f808fbb8586",
"name": "consectetur exercitation adipisicing"
},
{
"_id": "4a47983f1e22823b15d34cb9",
"name": "pariatur"
},
{
"_id": "8dbe4c27c6c37bcf04497f0a",
"name": "Ut est culpa esse"
},
{
"_id": "005f6702ea5d0fc0529cdbab",
"name": "labore consectetur ad"
},
{
"_id": "b56dbe4a98e81bfd73b251d2",
"name": "Ut id do"
}
]
}