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 parameter
namespace_id
required path parameter
lobby_id
required path parameter
Response Body
lobby
required object
A logs summary for a lobby.
create_ts
required string
RFC3339 timestamp
lobby_group_name_id
required string
A 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 string
namespace_id
required string
ready_ts
string
RFC3339 timestamp
region_id
required string
start_ts
string
RFC3339 timestamp
status
required object
A union representing the state of a lobby.
running
required object
stopped
object
The status of a stopped lobby.
exit_code
required integer
The exit code returned by the lobby's main process when stopped.
failed
required boolean
Whether or not the lobby failed or stopped successfully.
stop_ts
required string
RFC3339 timestamp
metrics
object
Metrics relating to a job service.
allocated_memory
number
Total allocated memory (MB).
cpu
required array<number>
CPU metrics.
cpu[*]
number
job
required string
The job name.
memory
required array<number>
Memory metrics.
memory[*]
number