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": "78dbbe1380b379cf9552cf4e",
"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",
"createdBy": "0cae8c0621ccec5142c4a906",
"created": "2019-11-25T22:51:39.201Z",
"lastModifiedBy": "ceeba40061779bd59a7db5aa",
"lastUpdated": "2019-11-25T22:51:39.201Z",
"version": 1,
"tags": [
{
"_id": "d028ae07429de6915a1ae7c2",
"name": "incididunt ad"
},
{
"_id": "d62946a9e13023f08f18a086",
"name": "in sit deserunt ipsum magna"
},
{
"_id": "fe87a180bc215de9f4d5e1c7",
"name": "proident Duis"
},
{
"_id": "622610458de634bd974e3853",
"name": "ipsum ullamco"
}
]
}