games.namespaces.logs.getNamespaceLobby
Description
Returns a lobby from the given game namespace.
Code Examples
Request
GET
https://api.rivet.gg/cloud/games/{game_id}/namespaces/{namespace_id}/logs/lobbies/{lobby_id}curl -X GET 'https://api.rivet.gg/cloud/games/{game_id}/namespaces/{namespace_id}/logs/lobbies/{lobby_id}'
Request Parameters
game_id
required path parameternamespace_id
required path parameterlobby_id
required path parameterResponse Body
lobby
required objectA logs summary for a lobby.
create_ts
required stringRFC3339 timestamp
lobby_group_name_id
required stringA human readable short identifier used to references resources. Different than a rivet.common#Uuid because this is intended to be human readable. Different than rivet.common#DisplayName because this should not include special characters and be short.
lobby_id
required stringnamespace_id
required stringready_ts
stringRFC3339 timestamp
region_id
required stringstart_ts
stringRFC3339 timestamp
status
required objectA union representing the state of a lobby.
running
required objectstopped
objectThe status of a stopped lobby.
exit_code
required integerThe exit code returned by the lobby's main process when stopped.
failed
required booleanWhether or not the lobby failed or stopped successfully.
stop_ts
required stringRFC3339 timestamp
metrics
objectMetrics relating to a job service.
allocated_memory
numberTotal allocated memory (MB).
cpu
required array<number>CPU metrics.
cpu[*]
numberjob
required stringThe job name.
memory
required array<number>Memory metrics.
memory[*]
number