September 2016
Intermediate to advanced
247 pages
5h 51m
English
© Paul Redmond 2016
Paul Redmond, Lumen Programming Guide, 10.1007/978-1-4842-2187-7_11
Paul Redmond1
(1)Phoenix, Arizona, USA
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.
GET /bundles/{id} Get individual bundle detailsPUT /bundles/{id}/books/{bookId} Add a Book to a BundleDELETE /bundles/{id}/books/{bookId} Remove a Book from a Bundle
Your book ...
Read now
Unlock full access