-- Notification --
Story 12:
As a users, I want to see the notifications of all systems.
Technical Requirements:
REST API Endpoint: GET /notifications/{user_id}
Path Variable: user_id
Response: 200 OK and get the lists of all notifications
Story 13:
As a users, I want to marked it as read message instead of unread notifications.
Technical Requirements:
REST API Endpoint: POST /notifications/{user_id} with Request Body
Path Variable: user_id
Request Body: { "notification_id" , "123" , "status" : 1 }
The status 1 is read, and status 0 is unread.
When opened the notifications all of it will turn into status 1 because users read it.
-- Notification --
Story 12:
As a users, I want to see the notifications of all systems.
Technical Requirements:
REST API Endpoint: GET /notifications/{user_id}
Path Variable: user_id
Response: 200 OK and get the lists of all notifications
Story 13:
As a users, I want to marked it as read message instead of unread notifications.
Technical Requirements:
REST API Endpoint: POST /notifications/{user_id} with Request Body
Path Variable: user_id
Request Body: { "notification_id" , "123" , "status" : 1 }
The status 1 is read, and status 0 is unread.
When opened the notifications all of it will turn into status 1 because users read it.