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": "2f67be9ab6d4fc0201334822",
"name": "test",
"group": "Sample group",
"command": "show ip br",
"description": "description",
"template": "Value FIRST_WORD (S+)\n\nStart\n ^FIRST_WORD.* -> Record",
"data": "some sample text to match against",
"type": "test",
"projectId": "Eb4e3f9dCEade8C18c1178B6",
"createdBy": "029981cd1022eae6fd70298c",
"created": "2019-11-25T22:51:39.201Z",
"lastModifiedBy": "95d8579053d712d9d4564725",
"lastUpdated": "2019-11-25T22:51:39.201Z",
"version": 1,
"tags": [
{
"_id": "acb425576b2ed798557058b7",
"name": "sed"
},
{
"_id": "3ab17b3196039509d7ff7389",
"name": "pariatur nostrud ipsum et"
},
{
"_id": "e190f240fa426c39050587d7",
"name": "tempor in"
},
{
"_id": "43bcd720607787b53bd8bf98",
"name": "veniam esse sit"
}
]
}