Skip to main content

GET : API to Get All Live streaming Rooms


GET
    https://<appname>.metered.live/api/v1/realtimelivestreaming/rooms

<appname> - replace it the name of your app.

Description

This endpoint allows you to GET all Meeting Rooms

Parameters

ParametersDescriptionRequiredOptions
Query
secretKeystringyour secret keyyes-

Request Samples

cURL
curl --request GET \
--url 'https://appname.metered.live/api/v1/realtimelivestreaming/rooms?secretKey={replace_this_with_your_secretKey}' \
--header 'Accept: application/json'

Responses

200
[
{
"viewerURL": "https://livestreamingdemo.metered.live/62b5e390cb82524b9cee9816/player",
"broadcastManager": "https://dashboard.metered.ca/livestreaming-rooms/62b5e390cb82524b9cee9816/app/62b5d44bd00c04354f16af71/broadcast",
"roomName": "pepvxawbes",
"currentlyBroadcasting": false,
"displayMessage": "Live stream will begin shortly",
"created": "2022-06-24T16:17:20.976Z",
"_id": "62b5e390cb82524b9cee9816"
},
{
"viewerURL": "https://livestreamingdemo.metered.live/62b62990145eb30115333cff/player",
"broadcastManager": "https://dashboard.metered.ca/livestreaming-rooms/62b62990145eb30115333cff/app/62b5d44bd00c04354f16af71/broadcast",
"roomName": "o-yfhqnz7x",
"currentlyBroadcasting": false,
"displayMessage": "Live stream will begin shortly",
"created": "2022-06-24T21:16:00.456Z",
"_id": "62b62990145eb30115333cff"
},
{
"viewerURL": "https://livestreamingdemo.metered.live/62b629c01ec85a0189c9eac9/player",
"broadcastManager": "https://dashboard.metered.ca/livestreaming-rooms/62b629c01ec85a0189c9eac9/app/62b5d44bd00c04354f16af71/broadcast",
"roomName": "la7dq915fu",
"currentlyBroadcasting": false,
"displayMessage": "Live stream will start soon",
"created": "2022-06-24T21:16:48.953Z",
"_id": "62b629c01ec85a0189c9eac9"
},
{
"viewerURL": "https://livestreamingdemo.metered.live/62b633d7235a601a8e857ba0/player",
"broadcastManager": "https://dashboard.metered.ca/livestreaming-rooms/62b633d7235a601a8e857ba0/app/62b5d44bd00c04354f16af71/broadcast",
"roomName": "6bha4lsneh",
"currentlyBroadcasting": false,
"displayMessage": "Live stream will start soon",
"created": "2022-06-24T21:59:51.970Z",
"_id": "62b633d7235a601a8e857ba0"
},
{
"viewerURL": "https://livestreamingdemo.metered.live/62d81494290d7a0b36342419/player",
"broadcastManager": "https://dashboard.metered.ca/livestreaming-rooms/62d81494290d7a0b36342419/app/62b5d44bd00c04354f16af71/broadcast",
"roomName": "4rj98qadod",
"currentlyBroadcasting": false,
"created": "2022-07-20T14:43:32.429Z",
"_id": "62d81494290d7a0b36342419"
},
{
"viewerURL": "https://livestreamingdemo.metered.live/62d814fb6bf2ba0bd2f4e237/player",
"broadcastManager": "https://dashboard.metered.ca/livestreaming-rooms/62d814fb6bf2ba0bd2f4e237/app/62b5d44bd00c04354f16af71/broadcast",
"roomName": "vmfem6fflw",
"currentlyBroadcasting": false,
"created": "2022-07-20T14:45:15.810Z",
"_id": "62d814fb6bf2ba0bd2f4e237"
},
{
"viewerURL": "https://livestreamingdemo.metered.live/62d81eff8196a70d5d29538e/player",
"broadcastManager": "https://dashboard.metered.ca/livestreaming-rooms/62d81eff8196a70d5d29538e/app/62b5d44bd00c04354f16af71/broadcast",
"roomName": "mystreamingroom",
"currentlyBroadcasting": false,
"created": "2022-07-20T15:27:59.002Z",
"_id": "62d81eff8196a70d5d29538e"
}
]
400

{
"success": false,
"message": "Invalid request"
}