We need to create an endpoint that will create a notification and add it to a user’s unread notifications. This endpoint should be under the route ‘users/:userid/notifications/send’ and takes in a payload that has the necessary info to create a notification.
Acceptance Criteria
[ ] a new endpoint is created in the organizations router under the route ‘users/:userid/notifcations/send’ that updates the user’s unread notifcations
[ ] unit tests and postman screenshot
Proposed Solution
Take a look at some of the other get endpoints we have on Finishline and use it as a reference for this endpoint.
Description
We need to create an endpoint that will create a notification and add it to a user’s unread notifications. This endpoint should be under the route ‘users/:userid/notifications/send’ and takes in a payload that has the necessary info to create a notification.
Acceptance Criteria
Proposed Solution
Take a look at some of the other get endpoints we have on Finishline and use it as a reference for this endpoint.
Mocks
No response