Skip to content

CRUD Gifts for friends (API endpoints) #16

@brisag

Description

@brisag

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions