Create a book
AuthRequires authentication via bearerAuth.
Description
Adds a book to the catalog.
Request body
application/jsonrequired
titlebodystringrequired
authorbodystringrequired
published_yearbodyinteger
tagsbodystring[]
Responses
201The created book.
application/jsonidstringrequired
Unique identifier.
titlestringrequired
The book title.
authorstringrequired
The author's full name.
published_yearinteger
Year of first publication.
tagsstring[]
Free-form labels.
422Validation error.