AWorld APIs are in a pre-alpha stage and are being updated frequently. For integration inquiries or technical information, please contact us at server@aworld.org.
curl --location --request PUT 'https://api.eu-west-1.aworld.cloud/dashboard/v1/quizzes/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"quizId": "string",
"difficulty": "EASY",
"correctAnswer": "opt1",
"origin": "CATALOG",
"quizCatalogId": "string",
"syncWithCatalog": true,
"placement": "STANDALONE",
"storyId": "string",
"defaultLang": "aa",
"translations": [
{
"lang": "aa",
"opt1": "string",
"opt2": "string",
"opt3": "string",
"opt4": "string",
"question": "string",
"explanation": "string"
}
]
}'
{
"quizId": "string",
"difficulty": "EASY",
"correctAnswer": "opt1",
"origin": "CATALOG",
"quizCatalogId": "string",
"syncWithCatalog": true,
"placement": "STANDALONE",
"storyId": "string",
"defaultLang": "aa",
"langs": [
"aa"
],
"accountId": "stringstri",
"workspaceId": "stringstri",
"sourceRegion": "us-east-1",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"stage": "DRAFT"
}