Lets the mobile app list a pet parent's notifications and mark one as seen. Both routes are called by the mobile app and authenticated with the pet parent's SuperTokens session (requireMobileAuth).
Endpoints
GET /mobile
- Auth:
requireMobileAuth - Controller:
NotificationController.listNotifications - Response:
401: keysauthenticated,message,404: keysmessage,200: JSON,500: keysmessage
POST /mobile/:notificationId/seen
- Auth:
requireMobileAuth - Params:
notificationId - Controller:
NotificationController.markAsSeen - Response:
400: keysmessage,200: keysmessage,500: keysmessage