-
Notifications
You must be signed in to change notification settings - Fork 0
Description
As a FE, I can consume the BE endpoints for Gifts controller to CRUD gifts for a specific friend ID. I can list all gifts for each friend, create a gift, update the status of the gift, delete the gift.
Acceptance Criteria:
all endpoints are accessible using browse or postman
api_v1_user_friend_gifts GET /api/v1/users/:user_id/friends/:friend_id/gifts(.:format) api/v1/gifts#index
POST /api/v1/users/:user_id/friends/:friend_id/gifts(.:format) api/v1/gifts#create
api_v1_user_friend_gift GET /api/v1/users/:user_id/friends/:friend_id/gifts/:id(.:format) api/v1/gifts#show
PATCH /api/v1/users/:user_id/friends/:friend_id/gifts/:id(.:format) api/v1/gifts#update
PUT /api/v1/users/:user_id/friends/:friend_id/gifts/:id(.:format) api/v1/gifts#update
DELETE /api/v1/users/:user_id/friends/:friend_id/gifts/:id(.:format) api/v1/gifts#destroy