All URIs are relative to https://api.beamable.com
Method | HTTP request | Description |
---|---|---|
api_lobbies_get | GET /api/lobbies | |
api_lobbies_id_delete | DELETE /api/lobbies/{id} | |
api_lobbies_id_get | GET /api/lobbies/{id} | |
api_lobbies_id_metadata_put | PUT /api/lobbies/{id}/metadata | |
api_lobbies_id_put | PUT /api/lobbies/{id} | |
api_lobbies_id_server_post | POST /api/lobbies/{id}/server | |
api_lobbies_id_tags_delete | DELETE /api/lobbies/{id}/tags | |
api_lobbies_id_tags_put | PUT /api/lobbies/{id}/tags | |
api_lobbies_passcode_put | PUT /api/lobbies/passcode | |
api_lobbies_post | POST /api/lobbies |
models::LobbyQueryResponse api_lobbies_get(x_beam_scope, x_beam_gamertag, skip, limit, match_type)
Query for active lobbies
Name | Type | Description | Required | Notes |
---|---|---|---|---|
x_beam_scope | Option<String> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | ||
x_beam_gamertag | Option<String> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | ||
skip | Option<i32> | |||
limit | Option<i32> | |||
match_type | Option<String> |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
serde_json::Value api_lobbies_id_delete(id, x_beam_scope, x_beam_gamertag, remove_from_lobby)
Remove the requested player from the lobby. The host is able to remove anyone. Others may only remove themselves without error.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | uuid::Uuid | Id of the lobby | [required] | |
x_beam_scope | Option<String> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | ||
x_beam_gamertag | Option<String> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | ||
remove_from_lobby | Option<RemoveFromLobby> | Request including the player requested to remove |
serde_json::Value
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::Lobby api_lobbies_id_get(id, x_beam_scope, x_beam_gamertag)
Get the current status of a lobby by id.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | uuid::Uuid | The lobby id. | [required] | |
x_beam_scope | Option<String> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | ||
x_beam_gamertag | Option<String> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::Lobby api_lobbies_id_metadata_put(id, x_beam_scope, x_beam_gamertag, update_lobby)
Update the properties of a lobby
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | uuid::Uuid | Id of the lobby | [required] | |
x_beam_scope | Option<String> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | ||
x_beam_gamertag | Option<String> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | ||
update_lobby | Option<UpdateLobby> | The update lobby request. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::Lobby api_lobbies_id_put(id, x_beam_scope, x_beam_gamertag, join_lobby)
Join a lobby
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | uuid::Uuid | Id of the lobby | [required] | |
x_beam_scope | Option<String> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | ||
x_beam_gamertag | Option<String> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | ||
join_lobby | Option<JoinLobby> | The join lobby request. Includes tags. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
serde_json::Value api_lobbies_id_server_post(id, x_beam_scope, x_beam_gamertag, create_federated_game_server)
Invoke the Lobby actor to make the federated game server request.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | uuid::Uuid | Id of the lobby | [required] | |
x_beam_scope | Option<String> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | ||
x_beam_gamertag | Option<String> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | ||
create_federated_game_server | Option<CreateFederatedGameServer> | Includes an optional matchtype |
serde_json::Value
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::Lobby api_lobbies_id_tags_delete(id, x_beam_scope, x_beam_gamertag, remove_tags)
Remove the request tags from the requested player.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | uuid::Uuid | Id of the lobby | [required] | |
x_beam_scope | Option<String> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | ||
x_beam_gamertag | Option<String> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | ||
remove_tags | Option<RemoveTags> | Includes the player ID and the tags to remove. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::Lobby api_lobbies_id_tags_put(id, x_beam_scope, x_beam_gamertag, add_tags)
Add the request tags to the requested player.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | uuid::Uuid | Id of the lobby | [required] | |
x_beam_scope | Option<String> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | ||
x_beam_gamertag | Option<String> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | ||
add_tags | Option<AddTags> | Includes the player ID and tags to add. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::Lobby api_lobbies_passcode_put(x_beam_scope, x_beam_gamertag, join_lobby)
Join a lobby by passcode.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
x_beam_scope | Option<String> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | ||
x_beam_gamertag | Option<String> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | ||
join_lobby | Option<JoinLobby> | The join lobby request. Includes tags. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::Lobby api_lobbies_post(x_beam_scope, x_beam_gamertag, create_lobby)
Create a lobby. A leader is not necessary to create a lobby.
Name | Type | Description | Required | Notes |
---|---|---|---|---|
x_beam_scope | Option<String> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | ||
x_beam_gamertag | Option<String> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | ||
create_lobby | Option<CreateLobby> | The Create request. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]