edu.ksu.canvas.interfaces.QuizQuestionWriter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of canvas-api Show documentation
Show all versions of canvas-api Show documentation
A native Java library to talk to the Canvas REST API
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;
}