notifications
Retrieve all notifications
Changed onget/notifications/all
Request
- Base URLhttps://staging.api-golang.boilerplate.hng.tech/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Notifications retrieved successfully
Example response
{
"status": "success",
"message": "Notifications retrieved successfully",
"status_code": 200,
"data": {
"total_notification_count": 10,
"total_unread_notification_count": 2,
"notifications": [
{
"notification_id": "01910b38-22db-79a1-a766-26b69757e3d2",
"message": "This is a notification message",
"created_at": "2024-08-01T00:55:14.011782+01:00"
}
]
}
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking