edu.ksu.canvas.interfaces.ContentMigrationReader 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 edu.ksu.canvas.model.ContentMigration;
import java.io.IOException;
import java.util.Optional;
public interface ContentMigrationReader extends CanvasReader {
/**
* Returns a content migration.
* @param courseId The course ID for this API call
* @param id The Canvas ID of the content migration to query
* @return A ContentMigration object
* @throws IOException When there is an error communicating with Canvas
*/
Optional getCourseContentMigration(String courseId, Integer id) throws IOException;
}