Quizzes
A: Create quiz
AuthorizationBearer <token>
In: header
allow_backtrackboolean
Default
trueallow_pauseboolean
Default
trueallow_reviewboolean
Default
trueallow_skipboolean
Default
falseavailable_fromstring
Default
"2024-12-25T00:00:00Z"available_untilstring
Default
"2024-12-31T23:59:59Z"certificate_enabledboolean
Default
truecompletion_messagestring
Default
"Congratulations! You have completed the Machine Learning quiz. Your results will be available shortly."config_dataobject
cooldown_period_hoursinteger
Default
24descriptionstring
Default
"A comprehensive quiz covering the fundamentals of machine learning concepts"detect_tab_switchingboolean
Default
truedifficulty_levelstring
Default
"intermediate"disable_copy_pasteboolean
Default
truefull_screen_modeboolean
Default
falsegrace_period_minutesinteger
Default
5instructionsstring
Default
"Please read each question carefully and select the best answer. You have 60 minutes to complete this quiz."max_attemptsinteger
Default
3max_participantsinteger
Default
100passing_scoreinteger
Default
70passwordstring
Default
""password_protectedboolean
Default
falsequestions_per_pageinteger
Default
5quiz_typestring
Default
"graded"randomize_question_orderboolean
Default
truerequire_all_questionsboolean
Default
truerequire_screen_recordingboolean
Default
falserequire_webcamboolean
Default
falseretake_policystring
Default
"after_cooldown"show_answer_afterboolean
Default
trueshow_correct_answersboolean
Default
trueshow_explanationboolean
Default
trueshow_progress_barboolean
Default
trueshow_question_numbersboolean
Default
trueshow_results_immediatelyboolean
Default
falseshow_score_breakdownboolean
Default
trueshuffle_optionsboolean
Default
trueshuffle_questionsboolean
Default
truethumbnailstring
Default
"https://example.com/quiz-thumbnail.jpg"Format
uritime_limitinteger
Default
60titlestring
Default
"Introduction to Machine Learning Quiz"warning_time_minutesinteger
Default
10Response Body
curl -X POST "https://edushade.com/api/v1/admin/quizzes" \
-H "Content-Type: application/json" \
-d '{
"allow_backtrack": true,
"allow_pause": true,
"allow_review": true,
"allow_skip": false,
"available_from": "2024-12-25T00:00:00Z",
"available_until": "2024-12-31T23:59:59Z",
"certificate_enabled": true,
"completion_message": "Congratulations! You have completed the Machine Learning quiz. Your results will be available shortly.",
"config_data": {
"accessibility_mode": false,
"font_size": "medium",
"theme": "default"
},
"cooldown_period_hours": 24,
"description": "A comprehensive quiz covering the fundamentals of machine learning concepts",
"detect_tab_switching": true,
"difficulty_level": "intermediate",
"disable_copy_paste": true,
"full_screen_mode": false,
"grace_period_minutes": 5,
"instructions": "Please read each question carefully and select the best answer. You have 60 minutes to complete this quiz.",
"max_attempts": 3,
"max_participants": 100,
"passing_score": 70,
"password": "",
"password_protected": false,
"questions_per_page": 5,
"quiz_type": "graded",
"randomize_question_order": true,
"require_all_questions": true,
"require_screen_recording": false,
"require_webcam": false,
"retake_policy": "after_cooldown",
"show_answer_after": true,
"show_correct_answers": true,
"show_explanation": true,
"show_progress_bar": true,
"show_question_numbers": true,
"show_results_immediately": false,
"show_score_breakdown": true,
"shuffle_options": true,
"shuffle_questions": true,
"thumbnail": "https://example.com/quiz-thumbnail.jpg",
"time_limit": 60,
"title": "Introduction to Machine Learning Quiz",
"warning_time_minutes": 10
}'{}Empty
Empty
Empty