Getting relation between live video and vod video links

Hello,

After a livestream has ended, I need to be able people to get corresponding VOD. I have not found a relationship between the live stream id and and VOD link or Iframe tag. Is there a way to find that relationship?

Thanks
Jaime

Jaime,

In the list all videos API - you can add query parameters to the url:

If you add the LiveStreamId, you will get a list of all of the VOD videos associated with the LiveStreamId.

This CURL command gave me all of the Livestreams from the livestream.streamclarity.com demo (it does 25 at a tme by default - there are over 500 streams recorded from the demo!)

curl --request GET --url ‘https://ws.api.video/videos?liveStreamId=li400mYKSgQ6xs7taUeSaEKr’ --header ‘accept: application/vnd.api.video+json’ --header ‘authorization: Bearer {token}’