JoinLobby
Joins a specific lobby.
This request will use the direct player count configured for the lobby group.
Request Body required
- lobby_id string required
Possible values: Value must match regular expression
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$A universally unique identifier.
- captcha
Methods to verify a captcha.
- 200
- 400
- 403
- 404
- 408
- 429
- 500
JoinLobby 200 response
Schema
lobby object required
A matchmaker lobby.
- lobby_id string required
Possible values: Value must match regular expression
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$A universally unique identifier.
region object required
A matchmaker lobby region.
- region_id string required
Possible values: 1 ≤ length ≤ 16, Value must match regular expression
^[a-zA-Z0-9](?:[a-zA-Z0-9]-?)+[a-zA-Z0-9]$A human readable short identifier used to references resources.
Different than a
rivet.common#Uuidbecause this is intended to be human readable.Different than
rivet.common#DisplayNamebecause this should not include special characters and be short. - display_name string required
Possible values: 1 ≤ length ≤ 24, Value must match regular expression
^(?:[^ \n\r] ?)+[^ \n\r]$Represent a resource's readable display name.
ports object required
A list of lobby ports.
player object required
A matchmaker lobby player.
- token password required
Pass this token through the socket to the lobby server. The lobby server will validate this token with
rivet.api.matchmaker#PlayerConnected$player_token.
BadRequestError 400 response
Schema
- code string required
- message string required
- metadata
Unstructured metadata relating to an error. Must be manually parsed.
ForbiddenError 403 response
Schema
- code string required
- message string required
- metadata
Unstructured metadata relating to an error. Must be manually parsed.
NotFoundError 404 response
Schema
- code string required
- message string required
- metadata
Unstructured metadata relating to an error. Must be manually parsed.
UnauthorizedError 408 response
Schema
- code string required
- message string required
- metadata
Unstructured metadata relating to an error. Must be manually parsed.
RateLimitError 429 response
Schema
- code string required
- message string required
- metadata
Unstructured metadata relating to an error. Must be manually parsed.
InternalError 500 response
Schema
- code string required
- message string required
- metadata
Unstructured metadata relating to an error. Must be manually parsed.