Class CallRecordingRest
java.lang.Object
org.exoplatform.webconferencing.rest.CallRecordingRest
The recordings of a call, as the viewer can open them in Documents.
Served under
/webconferencing/rest/.
Every refusal answers a JSON body {"message": "<code>"}, the code
being one of the webconferencing.recordings.* message codes of
WebConferencingService and RecordingDateUtils.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCallRecordingRest(WebConferencingService webConferencingService) Builds the resource. -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?> getCallRecordings(jakarta.servlet.http.HttpServletRequest request, String callId, String from, String to) Lists the recordings of a call that the user can open, newest first.org.springframework.http.ResponseEntity<?> getRecordingCall(jakarta.servlet.http.HttpServletRequest request, String documentId) Answers the call a recording file was made in, when the user can read the file and it is a stamped call recording.org.springframework.http.ResponseEntity<?> getRecordingsByConference(jakarta.servlet.http.HttpServletRequest request, String url, String from, String to) Lists the recordings of the call a meeting link points to that the user can open, newest first.
-
Field Details
-
CODE_PREFIX
The prefix of the message codes a refusal may carry.- See Also:
-
INVALID_REQUEST
The message code of a request refused for a reason that has no code.- See Also:
-
-
Constructor Details
-
CallRecordingRest
Builds the resource.- Parameters:
webConferencingService- the service holding the recordings lookup
-
-
Method Details
-
getCallRecordings
@GetMapping("calls/{callId}/recordings") @Secured("users") public org.springframework.http.ResponseEntity<?> getCallRecordings(jakarta.servlet.http.HttpServletRequest request, @PathVariable("callId") String callId, @RequestParam(name="from",required=false) String from, @RequestParam(name="to",required=false) String to) Lists the recordings of a call that the user can open, newest first.- Parameters:
request- the authenticated requestcallId- the call idfrom- the earliest recording date, ISO 8601to- the end of the range, ISO 8601: the server adds its grace- Returns:
- the recordings
-
getRecordingsByConference
@GetMapping("recordings/byConference") @Secured("users") public org.springframework.http.ResponseEntity<?> getRecordingsByConference(jakarta.servlet.http.HttpServletRequest request, @RequestParam(name="url",required=false) String url, @RequestParam(name="from",required=false) String from, @RequestParam(name="to",required=false) String to) Lists the recordings of the call a meeting link points to that the user can open, newest first.- Parameters:
request- the authenticated requesturl- the meeting link, as an agenda event's conference stores itfrom- the earliest recording date, ISO 8601to- the end of the range, ISO 8601: the server adds its grace- Returns:
- the recordings
-
getRecordingCall
@GetMapping("recordings/documents/{documentId}/call") @Secured("users") public org.springframework.http.ResponseEntity<?> getRecordingCall(jakarta.servlet.http.HttpServletRequest request, @PathVariable("documentId") String documentId) Answers the call a recording file was made in, when the user can read the file and it is a stamped call recording.- Parameters:
request- the authenticated requestdocumentId- the identifier of the file, or of a link to it- Returns:
- 200 with the call, or 204 when the file is not a stamped recording the user can read
-