Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions static/monorail-2.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,37 @@ paths:
description: Unexpected error
schema:
$ref: '#/definitions/Error'
head:
operationId: templatesGetByName
x-privileges: [ 'Read' ]
x-authentication-type: [ 'jwt' ]
summary: |
Get a single template
description: |
Get the template with the specified name.
parameters:
- name: name
in: path
description: |
The name of the template
required: true
type: string
tags: [ "/api/2.0" ]
responses:
200:
description: |
Successfuly retrieved the specified template
schema:
type: object
404:
description: |
The template with specified identifier was not found
schema:
$ref: '#/definitions/Error'
default:
description: Unexpected error
schema:
$ref: '#/definitions/Error'

/views:
x-swagger-router-controller: views
Expand Down