games.matchmaker.getLobbyLogs


Description

Returns the logs for a given lobby.


Code Examples

curl -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
    array of strings

    Sorted old to new.

  • timestamps
    array of strings

    Sorted old to new.

  • watch
    object

    Provided by watchable endpoints used in blocking loops.

    • watch.index
      string

      Index indicating the version of the data responded. Pass this to WatchQuery to block and wait for the next response.