ngalert swagger: Fix status code (#79415)
This endpoint returns a 202, not a 204 Let me know if we should instead change the response of the API
This commit is contained in:
@@ -1928,13 +1928,13 @@
|
||||
},
|
||||
"MuteTimeIntervalExport": {
|
||||
"properties": {
|
||||
"OrgID": {
|
||||
"format": "int64",
|
||||
"type": "integer"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"orgId": {
|
||||
"format": "int64",
|
||||
"type": "integer"
|
||||
},
|
||||
"time_intervals": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/TimeInterval"
|
||||
@@ -4419,7 +4419,6 @@
|
||||
"type": "array"
|
||||
},
|
||||
"gettableSilence": {
|
||||
"description": "GettableSilence gettable silence",
|
||||
"properties": {
|
||||
"comment": {
|
||||
"description": "comment",
|
||||
@@ -4618,7 +4617,6 @@
|
||||
"type": "array"
|
||||
},
|
||||
"postableSilence": {
|
||||
"description": "PostableSilence postable silence",
|
||||
"properties": {
|
||||
"comment": {
|
||||
"description": "comment",
|
||||
@@ -7136,7 +7134,7 @@
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"204": {
|
||||
"202": {
|
||||
"description": " The contact point was deleted successfully."
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user