mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Fix status code of successful response POST /api/alertmanager/grafana/api/v2/silences in swagger specs (#67951)
* update status code to reflect reality * update docs
This commit is contained in:
@@ -203,7 +203,7 @@ import (
|
||||
// create silence
|
||||
//
|
||||
// Responses:
|
||||
// 201: postSilencesOKBody
|
||||
// 202: postSilencesOKBody
|
||||
// 400: ValidationError
|
||||
|
||||
// swagger:route POST /api/alertmanager/{DatasourceUID}/api/v2/silences alertmanager RouteCreateSilence
|
||||
|
||||
@@ -4519,7 +4519,7 @@
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"201": {
|
||||
"202": {
|
||||
"description": "postSilencesOKBody",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/postSilencesOKBody"
|
||||
|
||||
@@ -247,7 +247,7 @@
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"201": {
|
||||
"202": {
|
||||
"description": "postSilencesOKBody",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/postSilencesOKBody"
|
||||
|
||||
Reference in New Issue
Block a user