Aquila
Matchmaking

WatchTicket

POST
/matchmaking.v1.MatchmakingService/WatchTicket

WatchTicket sends the ticket now and on every change, and ends once it reaches ASSIGNED, EXPIRED or CANCELLED.

Authorization

apiKey
headerAuthorizationBearer <token>

An organization API key, created in the console.

Request Body

  1. body
ticket*

Response Body

Success

  1. response
ticket?
Example Request
curl -X POST 'https://api.aquilahosting.com/matchmaking.v1.MatchmakingService/WatchTicket' \  -H 'Content-Type: application/connect+json' \  -d '{  "ticket": {}}'
Example Response
{  "ticket": {    "ticketId": "string",    "queueId": "string",    "playerIds": [      "string"    ],    "stringAttributes": {      "property1": "string",      "property2": "string"    },    "numberAttributes": {      "property1": 0.1,      "property2": 0.1    },    "latenciesMs": {      "property1": 0,      "property2": 0    },    "state": "TICKET_STATE_UNSPECIFIED",    "assignment": {      "matchId": "string",      "zone": "string",      "gameServer": "string",      "address": "string",      "ports": [        {          "name": "string",          "port": 0,          "protocol": "string"        }      ],      "team": 0,      "matchToken": "string"    },    "createdAt": "2023-01-15T01:30:15.01Z",    "expiresAt": "2023-01-15T01:30:15.01Z"  }}