Now that you have everything up and ready, it's time to learn how to use it!
It's time to create a ticket. This action mimics a player that would queue for a game. We will create a ticket using an HTTP request. You can use any tool you want to make the request. In this tutorial, we will use curl.
This should create a ticket with mode casual as a research tag.
Now that you have created a ticket, you can retrieve the data about the ticket using its ID. You will find the ID of the ticket in the response's body of the create ticket request
This should retrieve the data of your ticket
Now that you have created a ticket, you can delete the ticket using its ID. You will find the ID of the ticket in the response's body of the create ticket request. This action mimics a player that would leave the queue.
This should delete your ticket
Now that you know how to create a ticket, you can create a match! To create a match, you will have to create 2 tickets. The director will match 2 players of the same mode together and create a server on Arbitrium. After a few seconds, a server should be deployed on Arbitrium.
You can get the connection (IP:PORT) data of your server from ticket's data. If you retrieve the data of a ticket and this ticket has been assigned a game, you will see the connection's data in the response body under the assignment.connection key.