GET
/
api
/
v1
/
rooms
/
{roomCode}
/
details
Get room details
curl --request GET \
  --url http://localhost:8787/api/v1/rooms/{roomCode}/details
{
  "id": "<string>",
  "hostId": "<string>",
  "maxPlayers": 123,
  "numQuestions": 123,
  "timeLimit": 123,
  "code": "<string>",
  "topic": "<string>",
  "createdAt": "<string>",
  "endedAt": "<string>",
  "language": "<string>"
}

Path Parameters

roomCode
string
required
Minimum length: 4

Response

200 - application/json

Room details

id
string
required
hostId
string
required
maxPlayers
number
required
numQuestions
number
required
timeLimit
number
required
code
string
required
topic
string | null
required
createdAt
string
required
endedAt
string | null
required
language
string
required