All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.ksu.canvas.interfaces.QuizQuestionWriter Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
package edu.ksu.canvas.interfaces;

import java.io.IOException;

import edu.ksu.canvas.model.assignment.QuizQuestion;

public interface QuizQuestionWriter extends CanvasWriter {

    /**
     * Delete a quiz question
     * @param courseId Course ID containing the quiz to modify
     * @param quizId Quiz ID with question to delete
     * @param questionId Question ID of question to delete
     * @return true if deletion was successful (API returned HTTP 204), false otherwise
     * @throws IOException if there is an error communicating with Canvas
     */
    public boolean deleteQuizQuestion(String courseId, Integer quizId, Integer questionId) throws IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy