Save a quiz you wrote on Tjaz
save_quizSaves a multiple-choice quiz whose questions are already written, by the user or by you, on Tjaz, and gives back a link to play it alone, in a 3D game or together on a big screen, and to share it. Use this when the user has the questions, e.g. pasted them, or asks you to write them. Tjaz checks the quiz against its terms before saving it
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | A short title, at most 8 words | |
| public | No | Also show it on tjaz.com/quizzes, where anyone can find it. Default false: only those who get the link can play it | |
| players | No | Who will play the quiz. An age group: children (6–12), teens (13–17), adults (18–64), seniors (65+); or, for school, a level: grade0 is the first year of school at about 6 (kindergarten, Danish 0. klasse), grade1 to grade12 the school years after it (grade4 is US Grade 4, Danish 4. klasse, German 4. Klasse, UK Year 5; grade10–grade12 are the last three years of upper secondary school, e.g. Danish 1.g–3.g), then bachelor, master, phd, or nobel for experts. Leave it out when the user didn't say who will play: Tjaz then reads it from the description, as tjaz.com does | |
| language | Yes | The language of the quiz: the language's code as Tjaz has it, ISO 639-1, e.g. da, en, ar, uk, and nb for Norwegian | |
| questions | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quiz | No | ||
| status | Yes | ||
| message | No | Why it was refused, or what to tell the user |