Get Live List
This API is a special interface for retrieving a list of live streaming rooms. It's used when you don't need to use the live streaming lobby and only want to get the list of live streaming rooms. If you want to directly integrate the full live streaming lobby functionality, please refer to [Product API Interface -> Get Product List].
LoadList
This API is provided by the MINI.GAME platform and is called by the integrator.
POST {MINIGAME_APIURL}/api/live/list
Headers
Content-Type
"application/json; charset=utf-8"
sign
"your_sign_string"
Body
appid
Yes
string
The unique identifier for the merchant, available in the merchant backend.
Response Data Example
{
"code": 0,
"msg": "success",
"data": {
"list": [
{
"roomId": 10001,
"open": 1762496786,
"labels": "1,2,3",
"title": "roomtitle",
"cover":"http://mini.game/xxx.png",
"name":"myname",
"gameId":101,
"gameName":"powerball",
"cost":0,
"mode":0,
"battle":0,
"ball":0,
}
]
}
}Response Example Parameter Descriptions
code
Yes
integer
status codes
msg
Yes
string
Prompt message
data
Yes
object
Returned data
list
Yes
array
Live Stream List
roomId
Yes
integer
Room number
open
Yes
integer
Broadcast start time, timestamp
labels
Yes
string
Room tags (multiple selection): "1, 2, 3, 4, 5"
title
Yes
string
Room title
cover
Yes
string
Room cover
name
Yes
string
Room host name
gameId
Yes
integer
Game ID
gameName
Yes
string
Game Name
cost
Yes
integer
Room prices
mode
Yes
integer
Pricing options: 0: Free, 1: One-time charge, 2: Charged per minute.
battle
Yes
integer
PK
ball
Yes
integer
Access to toys
Error Code
Last updated