@Produces(value="application/json") @Path(value="/record") public class RecordingWebService extends Object
Constructor and Description |
---|
RecordingWebService() |
Modifier and Type | Method and Description |
---|---|
ServiceResult |
delete(String sid,
Long id)
Deletes a flv recording
|
List<RecordingDTO> |
getExternal(String sid,
String externalType,
String externalId)
Gets a list of flv recordings
|
List<RecordingDTO> |
getExternalByRoom(String sid,
Long roomId)
Get list of recordings
|
List<RecordingDTO> |
getExternalByType(String sid,
String externalType)
Gets a list of flv recordings
|
@DELETE @Path(value="/{id}") public ServiceResult delete(@QueryParam(value="sid") String sid, @PathParam(value="id") Long id) throws org.apache.openmeetings.webservice.error.ServiceException
sid
- The SID of the User. This SID must be marked as Loggedinid
- the id of the recording{@link
- ServiceException} in case of any errororg.apache.openmeetings.webservice.error.ServiceException
@GET @Path(value="/{externaltype}/{externalid}") public List<RecordingDTO> getExternal(@QueryParam(value="sid") String sid, @PathParam(value="externaltype") String externalType, @PathParam(value="externalid") String externalId) throws org.apache.openmeetings.webservice.error.ServiceException
sid
- The SID of the User. This SID must be marked as LoggedinexternalId
- the externalUserIdexternalType
- the externalUserTypeorg.apache.openmeetings.webservice.error.ServiceException
@GET @Path(value="/{externaltype}") public List<RecordingDTO> getExternalByType(@QueryParam(value="sid") String sid, @PathParam(value="externaltype") String externalType) throws org.apache.openmeetings.webservice.error.ServiceException
sid
- The SID of the User. This SID must be marked as LoggedinexternalType
- externalRoomType specified when creating the roomorg.apache.openmeetings.webservice.error.ServiceException
@GET @Path(value="/room/{roomid}") public List<RecordingDTO> getExternalByRoom(@QueryParam(value="sid") String sid, @PathParam(value="roomid") Long roomId) throws org.apache.openmeetings.webservice.error.ServiceException
sid
- The SID of the User. This SID must be marked as LoggedinroomId
- the room idorg.apache.openmeetings.webservice.error.ServiceException
Copyright © 2012–2017 Apache Software Foundation. All rights reserved.