Notification

Sends a test notification to the currently authenticated user

Required role: STAFF

Useful for testing if your device token is registered correctly and notifications are working.

post/notification/send/self

Request

  • Base URL: https://adonix.hackillinois.org
  • URL: https://adonix.hackillinois.org/notification/send/self
  • Auth: none declared

Request body

titlestring required
bodystring required

Response

The result of the test notification

sentUserId[] required
failedUserId[] required
time_msnumber required

Example response

{
  "sent": [
    "github1234"
  ],
  "failed": [
    "github1234"
  ],
  "time_ms": 532
}

Changes

No recorded changes to this operation across all 1 revision of this API.