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
required path parameter
lobby_id
required path parameter
stream
required query parameter
watch_index
optional query parameter
A query parameter denoting the requests watch index.
Response Body
lines
required array<string>
Sorted old to new.
lines[*]
string
timestamps
required array<string>
Sorted old to new.
timestamps[*]
string
watch
required object
Provided by watchable endpoints used in blocking loops.
index
required string
Index indicating the version of the data responded.
Pass this to WatchQuery
to block and wait for the next response.