mirror of
https://github.com/pushbits/server.git
synced 2025-05-29 00:36:35 +02:00
add tags and id
This commit is contained in:
parent
29fb096215
commit
98de0ef7e9
4 changed files with 26 additions and 0 deletions
|
@ -32,6 +32,8 @@ type NotificationHandler struct {
|
|||
// CreateNotification godoc
|
||||
// @Summary Create a Notification
|
||||
// @Description Creates a new notification for the given channel
|
||||
// @ID post-message
|
||||
// @Tags Application
|
||||
// @Accept json,mpfd
|
||||
// @Produce json
|
||||
// @Param message query string true "The message to send"
|
||||
|
@ -73,6 +75,8 @@ func (h *NotificationHandler) CreateNotification(ctx *gin.Context) {
|
|||
// DeleteNotification godoc
|
||||
// @Summary Delete a Notification
|
||||
// @Description Informs the channel that the notification is deleted
|
||||
// @ID deöete-message-id
|
||||
// @Tags Application
|
||||
// @Accept json,mpfd
|
||||
// @Produce json
|
||||
// @Param message_id path string true "ID of the message to delete"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue