Skip to content

Latest commit

Β 

History

History
47 lines (37 loc) Β· 1.28 KB

File metadata and controls

47 lines (37 loc) Β· 1.28 KB

βœ… TaleTrail API - Working & Fixed Endpoints

βœ… Working Endpoints

  • POST /api/auth/signup - Yes
  • POST /api/auth/login - Yes
  • GET /api/user/profile - Yes
  • PUT /api/user/profile - Yes
  • GET /api/profile/{username} - Yes

πŸ”„ Now Fixed Endpoints

πŸ“š Book Endpoints

  • GET /api/book (with optional ?search=) - Yes
  • GET /api/book/{id} - Yes
  • GET /api/book/by-author/{authorId} - yes (update(book_author table))

✍️ Author Endpoints

  • GET /api/author - yes
  • GET /api/author/{id} - yes

🏒 Publisher Endpoints

  • GET /api/publisher - yes
  • GET /api/publisher/{id} - yes

πŸ“ Blog Endpoints

  • GET /api/blog (with optional ?userId=) - yes
  • GET /api/blog/{id} - yes
  • POST /api/blog πŸ”’ - yes
  • PUT /api/blog/{id} πŸ”’ - yes
  • DELETE /api/blog/{id} πŸ”’ - yes
  • POST /api/blog-like/{blogId} πŸ”’ - yes
  • DELETE /api/blog-like/{blogId} πŸ”’ - yes
  • GET /api/blog-like/{blogId}/count - yes

🌟 Review Endpoints

  • GET /api/review/book/{bookId} - yes
  • POST /api/review πŸ”’ - yes
  • PUT /api/review/{id} πŸ”’ - yes
  • DELETE /api/review/{id} πŸ”’ - yes

πŸ“š User Book Endpoints - No

  • GET /api/userbook/my-books πŸ”’
  • POST /api/userbook πŸ”’
  • PUT /api/userbook/{bookId} πŸ”’
  • DELETE /api/userbook/{bookId} πŸ”’