TicketsApi
Import
Import
Constructors
Constructor
-
Parameters
-
Optional configuration: Configuration
-
basePath: string = ...
-
axios: AxiosInstance = ...
Returns TicketsApi
-
Methods
Create Ticket
-
Parameters
-
Optional impersonatedUserId: string
-
Optional createTicketRequest: CreateTicketRequest
-
Optional options: AxiosRequestConfig
Returns Promise<AxiosResponse<CreateTicketResponse>>
-
Delete Ticket
-
End matchmaking by deleting a matchmaking ticket using its ticket ID. This is called when the user wants to cancel matchmaking.
Parameters
-
id: string
Ticket ID or Backfill Ticket ID. The ID is obtained from the response of the Create operation.
-
Optional impersonatedUserId: string
-
Optional options: AxiosRequestConfig
Returns Promise<AxiosResponse<void>>
-
Get Ticket Status
-
Gets the status of a ticket match assignment in the Matchmaker.
Poll this resource until the match assignment is fulfilled. Rate of polling should not be more than once every second.Parameters
-
id: string
Ticket ID or Backfill Ticket ID. The ID is obtained from the response of the Create operation.
-
Optional impersonatedUserId: string
-
Optional options: AxiosRequestConfig
Returns Promise<AxiosResponse<TicketStatusResponse>>
-
Start matchmaking by creating a matchmaking ticket. Returns the ticket ID of the ticket created.
Create a matchmaking ticket
{RequiredError}
TicketsApi