cURL
curl --request POST \ --url http://localhost:8787/api/v1/quiz-submissions/multiplayer/{roomId}/quiz \ --header 'Content-Type: application/json' \ --data '{ "quizTitle": "<string>", "quizTopics": [ "<string>" ], "language": "en", "questions": [ { "questionTitle": "<string>", "text": "<string>", "options": [ "<string>" ], "correctAnswer": "<string>" } ] }'
{ "quizId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "questions": [ { "questionTitle": "<string>", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "text": "<string>", "options": [ "<string>" ], "correctAnswer": "<string>" } ] }
This route is called once by the host user. It creates one quiz and one set of questions for the entire lobby.
en
de
fr
es
it
ro
sr
tl
pl
Show child attributes
Quiz submitted successfully