GET
sessions
Use /session
to a return list of sessions with the same userId
. This will
return a list of sessions created by the same Livepeer Studio user.
curl -H 'authorization: Bearer {api-key}' \
"https://livepeer.studio/api/session"
Use /stream/{parentId}/sessions
to a return list of sessions with the same
parentId
curl -H 'authorization: Bearer {api-key}' \
"https://livepeer.studio/api/stream/{parentId}/sessions"
200 OK
[
{
"sourceSegmentsDuration":250,,
"id":"aaaaaaaa-aaaa-aaaa-aaaa-aaaa",
"record":false,
"parentId":"nnnnnnnn-nnnn-nnnn-nnnn-nnnn",
{other asset object keys, like createdAt and profiles}
{
"sourceSegmentsDuration":30.266,
"id":"bbbbbbbb-bbbb-bbbb-bbbb-bbbb",
"record":true,
"parentId":"nnnnnnnn-nnnn-nnnn-nnnn-nnnn",
"recordingStatus":"ready",
"recordingUrl":"https://fra-cdn.livepeer.studio/recordings/bbbbbbbb-bbbb-bbbb-bbbb-bbbb/index.m3u8",
{other asset object keys, like createdAt and profiles}
}
]