This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Getting all notification: `/api/users/notifications` | |
Getting one notification: `/users/notifications/12` | |
Notify all by admin: `/api/users/notifyAll`, body:{"title":"Sponsored notifications test", | |
"body":"This is for testing notify all"} | |
Nofify either organizers or users: `/api/users/notifyUsersOrOrganizers`, body:{ | |
"title":"sponsored notifications organizers", | |
"body":"this is for testing notify user or organizers", | |
"to":"ORGANIZER" // remember to always capitalize this and the other only available option is "USER" |