alertmanager/api/v2/restapi/operations/silence
Paul Gier 89b0ff0574 api/v2: Respond with 404 when silence ID is not found (#1816)
When the client attempts to update a silence with a non-existent
ID, respond with a 404 (Not Found) instead of a 400 (Bad Request).

Signed-off-by: Paul Gier <pgier@redhat.com>
2019-03-29 12:29:00 +01:00
..
delete_silence.go Makefile improvements 2019-03-11 10:45:45 -05:00
delete_silence_parameters.go Makefile improvements 2019-03-11 10:45:45 -05:00
delete_silence_responses.go Makefile improvements 2019-03-11 10:45:45 -05:00
delete_silence_urlbuilder.go Makefile improvements 2019-03-11 10:45:45 -05:00
get_silence.go Makefile improvements 2019-03-11 10:45:45 -05:00
get_silence_parameters.go Makefile improvements 2019-03-11 10:45:45 -05:00
get_silence_responses.go Makefile improvements 2019-03-11 10:45:45 -05:00
get_silence_urlbuilder.go Makefile improvements 2019-03-11 10:45:45 -05:00
get_silences.go Makefile improvements 2019-03-11 10:45:45 -05:00
get_silences_parameters.go Makefile improvements 2019-03-11 10:45:45 -05:00
get_silences_responses.go Makefile improvements 2019-03-11 10:45:45 -05:00
get_silences_urlbuilder.go Makefile improvements 2019-03-11 10:45:45 -05:00
post_silences.go Makefile improvements 2019-03-11 10:45:45 -05:00
post_silences_parameters.go Makefile improvements 2019-03-11 10:45:45 -05:00
post_silences_responses.go api/v2: Respond with 404 when silence ID is not found (#1816) 2019-03-29 12:29:00 +01:00
post_silences_urlbuilder.go Makefile improvements 2019-03-11 10:45:45 -05:00