Notification
Sends a notification to a specified group of users
Required role: ADMIN
Can filter by:
- eventId: users following a event
- role: users that have a role
- staffShift: staff in a staff shift
- foodWave: users in a food wave
- userIds: some set of users Filters are intersecting, so eventId = 123 and foodWave = 1 would get users following event 123 AND in food wave 1.
post/notification/send/
Request
- Base URL: https://adonix.hackillinois.org
- URL: https://adonix.hackillinois.org/notification/send/
- Auth: none declared
Request body
Example request
{
"title": "This is a test notification",
"body": "blame aydan",
"role": "STAFF"
}Response
The result of the sent batch
Example response
{
"sent": [
"github1234"
],
"failed": [
"github1234"
],
"time_ms": 532
}Changes
No recorded changes to this operation across all 1 revision of this API.