alertmanager/api/v2
gotjosh aaf9490576
API: Allow the Silences API to use their own 400 response (#3610)
There's no change to the logic here - it just stroke me as odd that we were reusing the response from alerting groups in the silences call when it's pretty simple to add a new one in the API description.

This is more accurate as well, as this will be used to power the documentation.

Signed-off-by: gotjosh <josue.abreu@gmail.com>
2023-11-22 10:25:27 +00:00
..
client API: Allow the Silences API to use their own 400 response (#3610) 2023-11-22 10:25:27 +00:00
models Bump: go-swagger to latest stable 2023-10-19 12:11:29 +01:00
restapi API: Allow the Silences API to use their own 400 response (#3610) 2023-11-22 10:25:27 +00:00
api.go API: Allow the Silences API to use their own 400 response (#3610) 2023-11-22 10:25:27 +00:00
api_test.go api/v2: Delete silence respond with 404 when silence is not found (#3352) 2023-05-05 14:06:26 +01:00
compat.go Update golangci-lint and fix complaints (#2853) 2022-03-25 17:59:51 +01:00
openapi.yaml API: Allow the Silences API to use their own 400 response (#3610) 2023-11-22 10:25:27 +00:00
testing.go Refactor POST /api/v1/silences 2022-07-06 18:34:57 +01:00