Notification devices
Check push config and list registered devices.
Notification routes need a session bearer. Register devices with POST /api/user/devices.
Status
GET /api/notifications/status
curl https://api.dunsocial.com/api/notifications/status \
-H "Authorization: Bearer YOUR_TOKEN"Returns { configured, deviceCount }.
List devices
GET /api/notifications/devices
Remove a device by id
DELETE /api/notifications/devices/:id
Send a test push
POST /api/notifications/test
Body: { title?, body?, deviceId? }
Returns 503 if Firebase is not configured. Useful while building a mobile client.