mirror of
https://github.com/bbernhard/signal-cli-rest-api.git
synced 2026-08-31 06:36:02 +00:00
Add files via upload
added 2 API registrations : /api/v2/sendalertmanager /api/v2/sendgraylognotification
This commit is contained in:
parent
95c14a5f2b
commit
8ea7456812
@ -285,6 +285,14 @@ func main() {
|
||||
{
|
||||
sendV2.POST("", api.SendV2)
|
||||
}
|
||||
sendalertmanagerV2 := v2.Group("/sendalertmanager")
|
||||
{
|
||||
sendalertmanagerV2.POST("", api.SendAlertManagerV2)
|
||||
}
|
||||
sendgraylognotificationV2 := v2.Group("/sendgraylognotification")
|
||||
{
|
||||
sendgraylognotificationV2.POST("", api.SendGraylogNotificationV2)
|
||||
}
|
||||
}
|
||||
|
||||
swaggerUrl := ginSwagger.URL("http://" + swaggerIp + ":" + string(port) + "/swagger/doc.json")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user