Get User Profile
Get public profile information for a user.Path Parameters
User’s unique ID
Response
User ID
Username
Account creation timestamp
Example Response
Get User’s Quizzes
Get all public quizzes created by a specific user.Path Parameters
User’s unique ID
Query Parameters
Filter by import status:
true: Only show imported quizzesfalse: Only show original quizzesnull(default): Show all quizzes
Response
Array of quiz objects (excludesquestions and user_id fields):
Quiz ID
Quiz title
Quiz description
Whether quiz is public (always true in this endpoint)
Cover image URL
Creation timestamp
Last update timestamp
Number of likes
Number of dislikes
Number of times played
Number of views
Whether imported from Kahoot
Example Response
Rate Quiz
Like or dislike a public quiz.Path Parameters
Quiz ID to rate
Request Body
Rating type:
LIKE or DISLIKEAuthentication
RequiredExample Request
Response
Returns success (no body) if rating is recorded.Behavior
- New rating: Creates the rating and increments quiz like/dislike count
- Same rating: Returns
409 Conflict- rating already exists - Change rating: Removes old rating, creates new one, updates both counts
Error Codes
404: Quiz not found or not public409: Already rated with the same type
Example: Changing Rating
Rating System Details
Rating Storage
Ratings are stored in therating table with:
- Unique constraint on (user, quiz) - one rating per user per quiz
positivefield:truefor likes,falsefor dislikescreated_attimestamp
Quiz Metrics
Quizzes track aggregate metrics:likes- Total number of likesdislikes- Total number of dislikesviews- Incremented when viewing public quizplays- Incremented when starting a game
Public Quizzes Only
Only public quizzes can be rated. Private quizzes return404.
Community Features Usage
User Profile Page
Quiz Rating
Leaderboard/Popular Quizzes
Combine with search endpoint:Privacy Considerations
Public Information
- Username
- User ID
- Account creation date
- Public quizzes
Private Information
Not exposed by community endpoints:- Email address
- Password
- Authentication methods
- API keys
- Session information
- Private quizzes
- Storage usage
User Avatar
User avatars are accessible via/api/v1/users/avatar/{user_id} (see Users API documentation).