Subscribe To Lobby Resource
Subscribe to lobby resource notifications.
Allowed entity token types: game_server, title_player_account
Error codes
This operation may return the following PlayFab errors:
| Error | Code |
|---|---|
| LobbyBadRequest | 13007 |
| LobbyDoesNotExist | 13000 |
| LobbyRateLimitExceeded | 13001 |
| PubSubConnectionHandleInvalid | 2503 |
| PubSubConnectionNotFoundForEntity | 2502 |
| PubSubSubscriptionLimitExceeded | 2504 |
Authorizations
This API requires an Entity Session Token, available from the Entity GetEntityToken method.
Body
Request to subscribe to lobby resource notifications.
Request to subscribe to lobby resource notifications.
The entity performing the subscription.
Opaque string, given to a client upon creating a connection with PubSub.
The name of the resource to subscribe to. For LobbyChange subscriptions this is the lobbyId. For LobbyInvite subscriptions this should always be "@me".
Version number for the subscription of this resource.
Subscription type. "LobbyChange" subscriptions allow a member or owner to receive notifications of lobby data, member or owner changes. "LobbyInvite" subscriptions allow a player to receive invites to lobbies. A player does not need to be a member of a lobby to receive lobby invites.
LobbyChange, LobbyInvite The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
