Adding /api/v1 prefix to all endpoints
Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
This commit is contained in:
parent
6a41fc22b3
commit
15a1a115de
|
@ -16,7 +16,7 @@ produces:
|
||||||
- "application/json"
|
- "application/json"
|
||||||
|
|
||||||
paths:
|
paths:
|
||||||
/status:
|
/api/v1/status:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
- general
|
- general
|
||||||
|
@ -27,7 +27,7 @@ paths:
|
||||||
description: Get status response
|
description: Get status response
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/definitions/alertmanagerStatus'
|
$ref: '#/definitions/alertmanagerStatus'
|
||||||
/receivers:
|
/api/v1/receivers:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
- receiver
|
- receiver
|
||||||
|
@ -40,7 +40,7 @@ paths:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: '#/definitions/receiver'
|
$ref: '#/definitions/receiver'
|
||||||
/silences:
|
/api/v1/silences:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
- silence
|
- silence
|
||||||
|
@ -88,7 +88,7 @@ paths:
|
||||||
description: A silence with the specified ID was not found
|
description: A silence with the specified ID was not found
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
/silence/{silenceID}:
|
/api/v1/silence/{silenceID}:
|
||||||
parameters:
|
parameters:
|
||||||
- in: path
|
- in: path
|
||||||
name: silenceID
|
name: silenceID
|
||||||
|
@ -127,7 +127,7 @@ paths:
|
||||||
description: Delete silence response
|
description: Delete silence response
|
||||||
'500':
|
'500':
|
||||||
$ref: '#/responses/InternalServerError'
|
$ref: '#/responses/InternalServerError'
|
||||||
/alerts:
|
/api/v1/alerts:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
- alert
|
- alert
|
||||||
|
@ -195,7 +195,7 @@ paths:
|
||||||
$ref: '#/responses/InternalServerError'
|
$ref: '#/responses/InternalServerError'
|
||||||
'400':
|
'400':
|
||||||
$ref: '#/responses/BadRequest'
|
$ref: '#/responses/BadRequest'
|
||||||
/alerts/groups:
|
/api/v1/alerts/groups:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
- alertgroup
|
- alertgroup
|
||||||
|
|
Loading…
Reference in New Issue