Skip to content

Quick Patch: Add Get All Quizzes and Replace PUT with PATCH#15

Merged
TUT888 merged 1 commit intodevelopfrom
feature/ai-quiz-generation
Jan 15, 2026
Merged

Quick Patch: Add Get All Quizzes and Replace PUT with PATCH#15
TUT888 merged 1 commit intodevelopfrom
feature/ai-quiz-generation

Conversation

@TUT888
Copy link
Owner

@TUT888 TUT888 commented Jan 15, 2026

Summary

This quick patch introduces new API endpoints to retrieve all quizzes across quiz sets. It also updates existing quiz endpoints to use the PATCH method instead of PUT, aligning with RESTful best practices for partial updates

DetailChanges

Controllers

QuizController:

  • Added getAllQuizzes(), returning a list of quizzes with QuizView.Basic.class JSON view.
  • Updated updateQuiz(), replacing @PutMapping("/{id}") with @PatchMapping("/{id}").

QuizSetController:

  • Updated updateQuizSet(), replacing @PutMapping("/{id}") with @PatchMapping("/{id}")

Others

  • Added toQuizResponseList() mapper
  • Added findAllByQuizSetUserId() in quiz repository
  • Implemented getAllQuizzes() in service

@TUT888 TUT888 merged commit 0d5a37e into develop Jan 15, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant