Class LtiServiceGuiEndpoint

java.lang.Object
org.opencastproject.lti.LtiServiceGuiEndpoint

@Path("/lti-service-gui") public class LtiServiceGuiEndpoint extends Object
The endpoint for the LTI gui
  • Constructor Details

    • LtiServiceGuiEndpoint

      public LtiServiceGuiEndpoint()
  • Method Details

    • setService

      public void setService(LtiService service)
      OSGi DI
    • getNewEventMetadata

      @GET @Path("/new/metadata") @Produces("application/json") public javax.ws.rs.core.Response getNewEventMetadata()
    • getEventMetadata

      @GET @Path("/{eventId}/metadata") @Produces("application/json") public javax.ws.rs.core.Response getEventMetadata(@PathParam("eventId") String eventId)
    • setEventMetadata

      @POST @Path("/{eventId}/metadata") @Produces("application/json") public javax.ws.rs.core.Response setEventMetadata(@PathParam("eventId") String eventId, @FormParam("metadataJson") String metadataJson)
    • copyEventToSeries

      @POST @Path("/{eventId}/copy") @Produces("application/json") public javax.ws.rs.core.Response copyEventToSeries(@PathParam("eventId") String eventId, @QueryParam("target_series") String targetSeries)
    • listJobs

      @GET @Path("/jobs") @Produces("application/json") public javax.ws.rs.core.Response listJobs(@QueryParam("seriesId") String seriesId)
    • createNewEvent

      @POST @Path("/") @Consumes("multipart/form-data") public javax.ws.rs.core.Response createNewEvent(@HeaderParam("Accept") String acceptHeader, @Context javax.servlet.http.HttpServletRequest request)
    • deleteEvent

      @DELETE @Path("{eventId}") public javax.ws.rs.core.Response deleteEvent(@HeaderParam("Accept") String acceptHeader, @PathParam("eventId") String id)