Skip to content

Commit

Permalink
schema
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Dec 6, 2024
1 parent bda5fd5 commit 7f07cef
Showing 1 changed file with 57 additions and 1 deletion.
58 changes: 57 additions & 1 deletion schema/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,7 @@ components:
enum:
- TARGET
- CUSTOM
- PRESET
type: string
UUID:
format: uuid
Expand Down Expand Up @@ -1164,7 +1165,9 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Template'
items:
$ref: '#/components/schemas/Template'
type: array
description: OK
"401":
description: Not Authorized
Expand Down Expand Up @@ -1217,6 +1220,59 @@ paths:
- SecurityScheme: []
tags:
- Event Templates
/api/v4/event_templates/{templateType}:
get:
parameters:
- in: path
name: templateType
required: true
schema:
type: string
responses:
"200":
content:
application/json:
schema:
items:
$ref: '#/components/schemas/Template'
type: array
description: OK
"401":
description: Not Authorized
"403":
description: Not Allowed
security:
- SecurityScheme: []
tags:
- Event Templates
/api/v4/event_templates/{templateType}/{templateName}:
get:
parameters:
- in: path
name: templateName
required: true
schema:
type: string
- in: path
name: templateType
required: true
schema:
type: string
responses:
"200":
content:
application/xml:
schema:
type: string
description: OK
"401":
description: Not Authorized
"403":
description: Not Allowed
security:
- SecurityScheme: []
tags:
- Event Templates
/api/v4/grafana/{encodedKey}:
post:
parameters:
Expand Down

0 comments on commit 7f07cef

Please sign in to comment.