games.matchmaker.getLobbyLogs
Description
Returns the logs for a given lobby.
Code Examples
Request
GET
https://api.rivet.gg/cloud/games/{game_id}/matchmaker/lobbies/{lobby_id}/logscurl -X GET 'https://api.rivet.gg/cloud/games/{game_id}/matchmaker/lobbies/{lobby_id}/logs'
Request Parameters
game_id
Path parameter, required
lobby_id
Path parameter, required
stream
Query parameter, required
watch_index
Query parameter, optional
A query parameter denoting the requests watch index.
Response Body
lines
array<string>
(required)
Sorted old to new.
timestamps
array<string>
(required)
Sorted old to new.
watch
object
(required)
Provided by watchable endpoints used in blocking loops.
watch.index
string
(required)
Index indicating the version of the data responded.
Pass this to WatchQuery
to block and wait for the next response.