Add id to POST /api/v1/silences (#9)
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
This commit is contained in:
@@ -80,6 +80,11 @@ import (
|
||||
|
||||
// swagger:parameters RouteCreateSilence
|
||||
type CreateSilenceParams struct {
|
||||
// ID of any existing silence to overwrite
|
||||
// in:body
|
||||
// required: false
|
||||
Id string `json:"id"`
|
||||
|
||||
// in:body
|
||||
Body Silence
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user