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": "cc8ad169fc9ca4fc5fb41c4c",
"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": "DBb36bA64aba37a22Fe65DA4",
"createdBy": "a942ffc251fa97ec7ba71e73",
"created": "2019-11-25T22:51:39.201Z",
"lastModifiedBy": "d66460497cd2f62cc55a53fa",
"lastUpdated": "2019-11-25T22:51:39.201Z",
"version": 1,
"tags": [
{
"_id": "f4355a5ba9458284bf3be881",
"name": "amet dolore est magna proident"
},
{
"_id": "aa7d233e236eeff9bb0f404c",
"name": "ipsum veniam aliqua"
},
{
"_id": "0c2abf0eb7883bc485253833",
"name": "sed reprehenderit aliqua proident"
},
{
"_id": "ed4fe68ac6d6677a2ff6ea14",
"name": "est"
}
]
}