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": "63ec6a09eac2ef0483c670e0",
"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",
"projectId": null,
"createdBy": "770ecb34773de53821a8ae1e",
"created": "2019-11-25T22:51:39.201Z",
"lastModifiedBy": "7eb515db412ba24e16270dfe",
"lastUpdated": "2019-11-25T22:51:39.201Z",
"version": 1,
"tags": [
{
"_id": "69d69d594776dfc3da82d59e",
"name": "eiusmod culpa ut dolore occaecat"
},
{
"_id": "e5e389ef64f8a4fb58d4fd5d",
"name": "in eiusmod"
},
{
"_id": "175fd5d91f58674b7916f6d9",
"name": "proident sunt magna voluptate"
}
]
}