mirror of
https://github.com/pushbits/server.git
synced 2025-05-17 19:06:36 +02:00
add endpoint for delete
This commit is contained in:
parent
3834e90527
commit
b392ea1b44
6 changed files with 65 additions and 34 deletions
|
@ -46,6 +46,7 @@ func Create(debug bool, cm *credentials.Manager, db *database.Database, dp *disp
|
|||
r.GET("/health", healthHandler.Health)
|
||||
|
||||
r.POST("/message", auth.RequireApplicationToken(), notificationHandler.CreateNotification)
|
||||
r.DELETE("/message/:messageid", api.RequireIDInURI(), auth.RequireApplicationToken(), notificationHandler.DeleteNotification)
|
||||
|
||||
r.GET("/test", auth.RequireApplicationToken(), notificationHandler.DeleteNotification)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue