Is this api endpoint is correctly following standard REST guidelines [closed]

  1. List Bundles added to the wishlist

GET http://localhost:8000/api/bundles/?wishlist=true

  1. Add Bundle to wishlist

POST http://localhost:8000/api/bundles/0f0c6be3-665d-4d98-8153-817149bcd3bc/wishlist/

  1. Remove bundle from wishlist

DELETE http://localhost:8000/api/bundles/0f0c6be3-665d-4d98-8153-817149bcd3bc/wishlist/

In the response of the bundles API I am sending the is_in_wishlist boolean

I am confuse

Back to Top