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": "9d6fdab7e4e058221d7bd078",
"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": "A8e448FfCA7A5396a0678F80",
"createdBy": "9bde5e5a670863c4e9d7ddd4",
"created": "2019-11-25T22:51:39.201Z",
"lastModifiedBy": "1f6279b9f72445ad380d36a9",
"lastUpdated": "2019-11-25T22:51:39.201Z",
"version": 1,
"tags": [
{
"_id": "092ea6e3a53ea85baa507d03",
"name": "Lorem nisi commodo tempor Duis"
},
{
"_id": "cb33ecd05fb14f251d856c61",
"name": "laboris fugiat"
}
]
}