For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Open sourceSupportFAQsDocs Home
DocumentationAPI ReferenceRelease notes
DocumentationAPI ReferenceRelease notes
  • Introduction
    • Overview
    • Authentication
  • Guides
    • Integration API routes
    • Operations Manager search APIs
    • Search API
    • URL query parameters
    • Use query parameters in API requests
  • Reference
        • POSTAdd one or more components to project
        • POSTCreate a new component group document
        • POSTCreate a new project
        • POSTCreate a new template document
        • POSTCreate a new workflow document
        • DELDelete a component group document
        • DELDelete a project and any components it contains
        • DELDelete a template document
        • POSTDiscover referenced resources
        • GETExport a template document
        • GETExport project as JSON document
        • GETGet a list of all the apps and adapters
        • GETGet a page of component group documents
        • GETGet a page of template documents
        • GETGet a page of workflow documents
        • GETGet a project's thumbnail
        • GETGet component group document
        • GETGet details of a workflow
        • GETGet project
        • GETGet references to a particular document
        • GETGet task details
        • POSTGet task details
        • GETGet template document
        • POSTImport a new component group document
        • POSTImport a new template document
        • POSTImport a new workflow document
        • POSTImport a project document from a JSON document
        • GETList all available rest calls
        • DELRemove a component from a project
        • PUTReplace a component group document
        • PUTReplace a template document
        • PUTReplace a workflow document
        • GETSearch projects
        • PUTSet a project's thumbnail image
        • PATCHUpdate an existing project
        • POSTValidate a workflow
LogoLogo
Open sourceSupportFAQsDocs Home
ReferenceAutomation Studio

Export a template document

GET
http://localhost:3000/automation-studio/templates/:id/export
GET
/automation-studio/templates/:id/export
$curl http://localhost:3000/automation-studio/templates/id/export \
> -u "<username>:<password>"
1{
2 "_id": "string",
3 "name": "arista_eos_show_clock",
4 "projectId": null,
5 "group": "Arista",
6 "device": "Arista EOS",
7 "command": "show clock",
8 "description": "Arista Show Clock Info",
9 "template": "Value TIME (d+:d+:d+)\nValue TIMEZONE (S+)\nValue DAYWEEK (w+)\nValue MONTH (w+)\nValue DAY (d+)\nValue YEAR (d+)\n\nStart\n ^${DAYWEEK}s+${MONTH}s+${DAY}s+${TIME}s+${YEAR}\n ^[t|T]imezone(:|sis)s+${TIMEZONE} -> Record\n",
10 "data": "Mon Jan 14 18:42:49 2013\ntimezone is US/Central",
11 "text": "Mon Jan 14 18:42:49 2013\ntimezone is US/Central",
12 "type": "textfsm",
13 "createdBy": "string",
14 "created": "2019-11-25T22:51:39.201Z",
15 "lastModifiedBy": "string",
16 "lastUpdated": "2019-11-25T22:51:39.201Z",
17 "version": 1,
18 "tags": [
19 {
20 "_id": "string",
21 "name": "string"
22 }
23 ]
24}
Exports a template document.
Was this page helpful?
Previous

Export project as JSON document

Next
Built with

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:password)>.

Path parameters

idstringRequired
Template id.

Response

Exported representation of the template.
any
OR
any

Errors

500
Internal Server Error