23 API
kolaente edited this page 1 year ago

API

Routes marked with 🔒 need authentification.

Routes Overview

Auth

Route Method More
/login POST More

Books

Route Method More
/books GET More
/books PUT More
/books/:id GET More
/books/:id DELETE More
/books/:id POST More

Authors

Route Method More
/authors GET More
/authors PUT More
/authors/:id GET More
/authors/:id DELETE More
/authors/:id POST More

Publishers

Route Method More
/publishers GET More
/publishers PUT More
/publishers/:id GET More
/publishers/:id DELETE More
/publishers/:id POST More

Items

Route Method More
/items GET More
/items PUT More
/items/:id GET More
/items/:id DELETE More
/items/:id POST More

Status

Route Method More
/status GET More
/status/:id GET More

Users

More

Route Method Description
/users GET List users
/users PUT New user
/users/:id GET Get user details
/users/:id POST Update a user
/users/:id DELETE Delete a user
/users/:id/password POST Update a users password