In this chapter, you will be building a simple book bundle implementation. A book bundle is basically a collection of books bundled together under a common theme. For example, a “Database Primer” book bundle might include books about database design, database theory, and database administration.
The outline for the API endpoints you will cover this chapter will be as shown in Listing 11-1.
Listing 11-1. Basic REST /Bundles Endpoints
GET /bundles/{id} Get individual bundle details
PUT /bundles/{id}/books/{bookId} Add a Book to a Bundle
DELETE /bundles/{id}/books/{bookId} Remove a Book from a Bundle
Your book ...