Quiz Management

Create, edit, publish, upload files for, and delete quizzes.

POST /++addQuiz Add quiz Creates a new quiz in the current member's quizzes folder, proxying to Plone's content-creation REST API after sanitizing the submitted rich content. POST /createQuiz Create quiz Creates a new quiz content object, proxying to Plone's own content-creation REST API after sanitizing and HTML-escaping the submitted rich content. DELETE /++deleteQuiz Delete quiz Deletes a quiz owned by the current member. Refuses if the quiz is still linked to one or more assignments. DELETE /++deleteQuizFile Delete quiz file Deletes a previously uploaded file or image attached to a quiz. POST /++generate_quiz_questions_ai Generate quiz questions with AI Generates quiz questions via DeepSeek, from the quiz's own title/description plus optional source document (PDF/HTML/Markdown/ plain text), instructions, and targeting options. Teacher-gated at the same tier as manual question upload (teacher_upload_questions, premium) - Managers bypass the gate and any question-count cap. Available question types are filtered ONLY by the teacher's actual subscription tier, per type - no other type is excluded for any other reason. Output matches the same JSON s GET /++file_downloader Get file downloader Serves a previously generated export file for download, identified by UID and file type, tracked via a download_id. GET /++get_quizzes Get quizzes Returns either one specific quiz (by quiz_id) or the full list of quizzes owned by the current member. PUT /++changeQuizStatus Replace change quiz status Publishes or retracts a quiz (changes its workflow state), given an action of 'publish' or 'retract'. PATCH /++updateQuiz Update quiz Updates an existing quiz's details, proxying to Plone's REST API for the target quiz. POST /++uploadQuizFile Upload quiz file Attaches an uploaded file or image to an existing quiz, proxying to Plone's REST API to add the content.