GameResult
Creates a new game result
Changed onCreates a new result entry for a game result
post/game-results
Request
- Base URL: http://localhost:8080/api/v1
- URL: http://localhost:8080/api/v1/game-results
- Auth: none declared
Request body
Example request
{
"session_student_id": 2,
"content_id": "123e4567-e89b-12d3-a456-426614174394",
"time_taken_sec": 93,
"completed": true,
"count_of_incorrect_attempts": 3,
"incorrect_attempts": [
"Lijard",
"Leopaard",
"BARES"
]
}Response
Game Result created successfully
Example response
{
"id": "123e4567-e89b-12d3-a456-426614174946",
"session_student_id": "123e4567-e89b-12d3-a456-426614174946",
"content_id": "123e4567-e89b-12d3-a456-426614174cid",
"time_taken_sec": 93,
"completed": true,
"count_of_incorrect_attempts": 1,
"incorrect_attempts": [
"Kroookodiley"
],
"created_at": "2025-09-13T17:19:00Z",
"updated_at": "2025-09-13T17:19:00Z"
}Changes
- ○
endpoint added
- ○