Class ConfigurablePublicationRestService

java.lang.Object
org.opencastproject.rest.AbstractJobProducerEndpoint
org.opencastproject.publication.configurable.endpoint.ConfigurablePublicationRestService

@Path("/publication/api") public class ConfigurablePublicationRestService extends org.opencastproject.rest.AbstractJobProducerEndpoint
Rest endpoint, mainly for publishing media to a configurable channel
  • Constructor Details

    • ConfigurablePublicationRestService

      public ConfigurablePublicationRestService()
  • Method Details

    • setService

      public void setService(org.opencastproject.publication.api.ConfigurablePublicationService service)
    • setServiceRegistry

      public void setServiceRegistry(org.opencastproject.serviceregistry.api.ServiceRegistry serviceRegistry)
    • getService

      public org.opencastproject.job.api.JobProducer getService()
      Specified by:
      getService in class org.opencastproject.rest.AbstractJobProducerEndpoint
    • getServiceRegistry

      public org.opencastproject.serviceregistry.api.ServiceRegistry getServiceRegistry()
      Specified by:
      getServiceRegistry in class org.opencastproject.rest.AbstractJobProducerEndpoint
    • replace

      @POST @Path("/replace") @Produces("text/xml") public javax.ws.rs.core.Response replace(@FormParam("mediapackage") String mediaPackageXml, @FormParam("channel") String channel, @FormParam("addElements") String addElementsXml, @FormParam("retractElements") String retractElements)
    • replaceSync

      @POST @Path("/replacesync") @Produces("text/xml") public javax.ws.rs.core.Response replaceSync(@FormParam("mediapackage") String mediaPackageXml, @FormParam("channel") String channel, @FormParam("addElements") String addElementsXml, @FormParam("retractElements") String retractElements)