Class RecordingWebService

java.lang.Object
org.apache.openmeetings.webservice.BaseWebService
org.apache.openmeetings.webservice.RecordingWebService

@Service("recordWebService") @Produces("application/json") @Path("/record") public class RecordingWebService extends BaseWebService
The Service contains methods to work with recordings
  • Constructor Details

    • RecordingWebService

      public RecordingWebService()
  • Method Details

    • delete

      @DELETE @Path("/{id}") public ServiceResult delete(@QueryParam("sid") String sid, @PathParam("id") Long id) throws ServiceException
      Deletes a recording
      Parameters:
      sid - The SID of the User. This SID must be marked as Loggedin
      id - the id of the recording
      Returns:
      ServiceResult with result type
      Throws:
      ServiceException
    • getExternal

      @GET @Path("/{externaltype}/{externalid}") public List<RecordingDTO> getExternal(@QueryParam("sid") String sid, @PathParam("externaltype") String externalType, @PathParam("externalid") String externalId) throws ServiceException
      Gets a list of recordings created by particular external USER
      Parameters:
      sid - The SID of the User. This SID must be marked as Loggedin
      externalId - the externalUserId
      externalType - the externalUserType
      Returns:
      - list of recordings
      Throws:
      ServiceException
    • getExternalByType

      @GET @Path("/{externaltype}") public List<RecordingDTO> getExternalByType(@QueryParam("sid") String sid, @PathParam("externaltype") String externalType) throws ServiceException
      Gets a list of recordings
      Parameters:
      sid - The SID of the User. This SID must be marked as Loggedin
      externalType - externalType specified when creating the room
      Returns:
      - list of flv recordings
      Throws:
      ServiceException
    • getExternalByRoom

      @GET @Path("/room/{roomid}") public List<RecordingDTO> getExternalByRoom(@QueryParam("sid") String sid, @PathParam("roomid") Long roomId) throws ServiceException
      Get list of recordings
      Parameters:
      sid - The SID of the User. This SID must be marked as Loggedin
      roomId - the room id
      Returns:
      - list of recordings
      Throws:
      ServiceException