Get Game Contents
Changed onGet all Game Contents for given category and level with a certain number of words
Request
- Base URL: http://localhost:8080/api/v1
- URL: http://localhost:8080/api/v1/game-contents
- Auth: none declared
Query parameters
Theme ID associated with the game's contents
Theme Week associated with the game's contents
The category associated with the game
The type of question being asked in the game
The difficulty level of the game
Refers to the number of questions that should be returned through sampling
The number of words that need to be retrieved as correct answer and wrong options
The type of exercise for which content is being requested (game or pdf)
The applicable game types for which content is being requested
Response
The Game Content (corresponding category and level)
Example response
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"theme_id": "123e4567-e89b-12d3-a456-426614174001",
"week": 2,
"category": "speech",
"question_type": "fluency",
"difficulty_level": 4,
"question": "What type of reptile is Swampy?",
"options": [
"Crocorokodile",
"Krookodile",
"Koorkodile"
],
"answer": "Crocodile",
"exercise_type": "game",
"applicable_game_types": [
"drag and drop",
"spinner"
],
"presigned_options": [
"Crocorokodile",
"Krookodile",
"Koorkodile"
],
"created_at": "2025-09-13T17:19:00Z",
"updated_at": "2025-09-13T17:19:00Z"
}
]Changes
- ○
added the new optional
queryrequest parametertheme_week
- ○
- ●
added the new
multi-matchenum value to the//response property for the response status - ○
added the enum value
multi-matchto the propertyitems/of thequeryrequest parameterapplicable_game_types
- ●