Saltar al contenido principal
POST
Subscribe To Matchmaking Resource

Autorizaciones

X-EntityToken
string
header
requerido

This API requires an Entity Session Token, available from the Entity GetEntityToken method.

Cuerpo

application/json

Subscribe to match resource notifications. Match subscriptions have two types; MatchInvite and MatchTicketStatusChange

Subscribe to match resource notifications. Match subscriptions have two types; MatchInvite and MatchTicketStatusChange

EntityKey
object
requerido

The entity performing the subscription. The entity must be authorized to use this connectionHandle.

PubSubConnectionHandle
string
requerido

Opaque string, given to a client upon creating a connection with PubSub. Notifications will be sent to the connection associated with this handle.

ResourceId
string
requerido

The name of the resource to subscribe to. It follows the format {queueName}|{ticketId} for MatchTicketStatusChange. For MatchInvite, ResourceId is @me.

SubscriptionVersion
number
requerido

Version number for the subscription of this resource. Current supported version must be 1.

Type
string
requerido

Subscription type. MatchInvite subscriptions are per-player. MatchTicketStatusChange subscriptions are per-ticket. Subscribe calls are idempotent. Subscribing on the same resource for the same connection results in success.

CustomTags
object

The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).

Respuesta

code
integer

The Http status code. If X-ReportErrorAsSuccess header is set to true, this will report the actual http error code.

status
string

The Http status code as a string.

data
object
Ejemplo:
Última modificación el 6 de octubre de 2026