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": "2424ec39dbdd8b268883789a",
"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": "dfF05D187dDD7B9e0303C5e3",
"createdBy": "ee3a8054101c8f1d6a78dcc9",
"created": "2019-11-25T22:51:39.201Z",
"lastModifiedBy": "c78ed66916af8816dcc9a381",
"lastUpdated": "2019-11-25T22:51:39.201Z",
"version": 1,
"tags": [
{
"_id": "e42c4e4e0f1c7e5bda6ab965",
"name": "qui"
},
{
"_id": "79b1a019d13850e15151679b",
"name": "id officia"
},
{
"_id": "7debf5297a805809c81340b6",
"name": "pariatur voluptate fugiat elit esse"
},
{
"_id": "272b342e04ecf8eece7a9d3b",
"name": "anim cillum velit deserunt eiusmod"
},
{
"_id": "657843edbf1642d829c8f4b9",
"name": "nulla Ut id"
}
]
}