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": "2461118ae11624314eeddeeb",
"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": "989a6f2a34e4b9ceae584b31",
"created": "2019-11-25T22:51:39.201Z",
"lastModifiedBy": "a0edd3e8f07f3f22fb803874",
"lastUpdated": "2019-11-25T22:51:39.201Z",
"version": 1,
"tags": [
{
"_id": "2862f55b9d4a68d3ce128cc0",
"name": "laborum velit deserunt sed cillum"
},
{
"_id": "d6f6c0518fc58d454fa14824",
"name": "esse anim labore mollit reprehenderit"
}
]
}