logo
Log in
PaperShelf API v. 1.0.0
-
post
Register a new user
-
post
Login user
-
post
Google Sign-In
-
post
Logout user
-
post
Refresh access token
-
post
Verify email with OTP
-
post
Resend email verification OTP
-
post
Request password reset OTP
-
post
Reset password with OTP
-
get
Get all authors (Public)
-
get
Get all users (Admin only)
-
get
Get user by ID (Admin only)
-
delete
Delete user by ID (Admin only)
-
patch
Update user by ID (Admin only)
-
patch
Update user profile (User only - own profile)
-
delete
Delete own account
-
get
Get all pending books for approval (Admin only)
-
get
Search pending books (Admin only)
-
patch
Approve a book (Admin only)
-
patch
Reject a book (Admin only)
-
get
Get books pending deletion (Admin only)
-
delete
Approve book deletion (Admin only)
-
patch
Reject book deletion request (Admin only)
-
get
Get author's books (Author only)
-
post
Create a new book (Author only)
-
get
Get single book by ID (Author only - own books)
-
put
Update book (Author only - own books)
-
delete
Delete book (Author only - own books)
-
get
Get all books with filtering and pagination
-
get
Search books
-
get
Get all book categories
-
get
Get all book authors
-
get
Get featured books
-
get
Get book by ID
-
get
Get AI-generated book summary
-
post
Create a new book (Admin only)
-
put
Update book (Admin only)
-
delete
Delete book (Admin only)
-
patch
Toggle featured status (Admin only)
-
get
Get book by ID with cart information (Authenticated users)
-
get
Get all approved reviews for a book
-
post
Add a review to a book
-
delete
Delete a review
-
patch
Approve or reject a review (Admin only)
-
get
Get all pending reviews (Admin only)
-
get
Get all approved reviews (Admin only)
-
get
Get user's wishlist
-
post
Add book to wishlist
-
delete
Remove book from wishlist
-
get
Get user's cart
-
post
Add item to cart
-
put
Update item quantity in cart
-
delete
Remove specific item from cart
-
delete
Clear entire cart
-
get
Get AI recommendations based on cart items
-
post
Validate cart before checkout
-
get
Get available shipping options
-
post
Process checkout and create order
-
post
Process payment for existing order
-
get
Get user's order history
-
get
Get specific order details
-
put
Update order status (Admin only)
-
put
Update payment status (Admin only)
-
get
Get all orders (Admin only)
-
post
Create PayPal order
-
post
Capture PayPal order after approval
-
get
Get categories with icons
-
User
-
AuthSuccessResponse
-
SuccessResponse
-
ErrorResponse
-
AuthorProfile
-
Book
-
CreateBookRequest
-
UpdateBookRequest
-
Pagination
-
Review
-
ReviewWithBookInfo
-
CartItem
-
Order