REST API to get latest status of scheduledRecordings
Using REST API, I want to get the latest status of ScheduledRecordings . I am not sure if this is possible.
Background
With current REST API, I can run to look at the details of a scheduled recording
GET /api/v1/scheduledRecordings/{id}
As the time of the schedule has come, the remote recorder starts the recording. At this point, is there anywhere I can query the API to see if the scheduled recording has actually started or has run into any problems?
Then when the recording has ended, is there anyway I can query the API to see the status of result? Like:
- has the recording ended successfully?
- which session this scheduled recording has created?
Would all this information be available via the REST API?
I know there are GET /api/v1/sessions/inProgress/recording and GET /api/v1/sessions/inProgress/webcast , but I haven't found a way to link each scheduledRecording to their relative session.
Answers
Hi Samuel,
Unfortunately at the moment
GET /api/v1/scheduledRecordings/{id}
doesn't return session ID which you could use to correlate with the information frominProgress/recording
andinProgress/webcast
.I wonder if you can maybe try to use "Name" property if you can do a match with regex so you can use that to correlate instead of the session ID.
I hope this helps.
Thanks,
Adis