ESC
Example searches: “role”, “KirjaSwappi”, “message”, “password”, “username”
Search…
Ctrl+K
⌘K
API Changelog
Download source
JSON OpenAPI specification
YAML OpenAPI specification
Toggle dark mode
Backend API
Topics
Introduction
Endpoints
Admin users
Find all admin users.
GET
Create an admin user.
POST
Delete an admin user.
DELETE
Authenticate
Authenticate an admin user.
POST
Refresh an authentication token.
POST
Books
Find book by Book ID.
GET
Update book by Book ID.
PUT
Delete book by Book ID.
DELETE
Search for books with (optional) filter properties, including optional userId.
GET
Add book to a user.
POST
Delete all books.
DELETE
Find more books of the user by Book ID.
GET
Find supported book swap types.
GET
Find supported book languages.
GET
Find supported book conditions.
GET
Genres
Update genre.
PUT
Delete genre.
DELETE
Find all genres.
GET
Create genre.
POST
Photos
Find all supported cover photos.
GET
Add supported cover photo.
POST
Add profile photo.
POST
Add cover photo.
POST
Get profile photo by user id.
GET
Get profile photo by email.
GET
Get cover photo by user id.
GET
Get cover photo by email.
GET
Delete a supported cover photo.
DELETE
Delete profile photo.
DELETE
Delete cover photo.
DELETE
Send otp
Send OTP to a user.
POST
Swap requests
Create swap request for a book.
POST
Delete all swap requests.
DELETE
Users
Find user by User ID.
GET
Update user.
PUT
Delete user.
DELETE
Verify email.
POST
Create user.
POST
Reset password.
POST
Login user.
POST
Login with Google.
POST
Add a favourite book to a user.
POST
Change password.
POST
Find all users.
GET
Find user books with (optional) filter properties.
GET
Verify otp
Verify OTP of a user.
POST
Search…
Ctrl+K
⌘K
API Changelog
Download source
JSON OpenAPI specification
YAML OpenAPI specification
Toggle dark mode
Backend API
Dismiss highlight
Show more
Authenticate
Dismiss highlight