Servers
- Servers
- Server Image Management
Matchmaking
List all active matches for a matchmaker
GET
/
matchmaker
/
matches
Copy
curl --request GET \
--url https://backend.computeflow.cloud/matchmaker/matches \
--header 'api-key: <api-key>'
Copy
[
{
"match_id": "m1n2o3p4-q5r6-7890-1234-567890ghijkl",
"matchmaker_id": "c0c17d62-890e-4788-83e0-f16be8db4901",
"gameBuild": "Build_1.2.3",
"status": "active",
"created_at": 1678886500000,
"backfill": true,
"maxPlayers": 10,
"currentPlayers": 8,
"players": [
{
"ticket_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
"player_id": "player_123",
"matchmaker_id": "c0c17d62-890e-4788-83e0-f16be8db4901",
"status": "In Queue",
"created_at": 1678886400000,
"elo": 1250,
"gameBuild": "Build_1.2.3",
"regions": [
"NA-East",
"EU-West"
],
"match": {}
}
],
"teams": [
[
{
"ticket_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
"player_id": "player_123",
"matchmaker_id": "c0c17d62-890e-4788-83e0-f16be8db4901",
"status": "In Queue",
"created_at": 1678886400000,
"elo": 1250,
"gameBuild": "Build_1.2.3",
"regions": [
"NA-East",
"EU-West"
],
"match": {}
}
]
],
"server": {
"instance_id": "srv_abc123",
"name": "lobby-xyz-server",
"network_ports": [
{
"name": "game",
"internal_port": 7777,
"external_port": 7777,
"protocol": "udp",
"host": "127.0.0.1",
"tls_enabled": false
}
],
"status": "running",
"startup_args": {},
"service_type": "match_based",
"compute_size": "small",
"region": "us-east",
"version_tag": "<string>",
"started_at": "2023-03-15T10:00:00Z",
"stopped_at": {},
"custom_data": {},
"ttl": 3600,
"connect_code": "XYZ123",
"game_build": "Build_1.2.3"
}
}
]
Authorizations
Headers
API key for authentication
Optional client authentication token for player validation
Response
200
application/json
A list of active matches
The response is of type object[]
.
Copy
curl --request GET \
--url https://backend.computeflow.cloud/matchmaker/matches \
--header 'api-key: <api-key>'
Copy
[
{
"match_id": "m1n2o3p4-q5r6-7890-1234-567890ghijkl",
"matchmaker_id": "c0c17d62-890e-4788-83e0-f16be8db4901",
"gameBuild": "Build_1.2.3",
"status": "active",
"created_at": 1678886500000,
"backfill": true,
"maxPlayers": 10,
"currentPlayers": 8,
"players": [
{
"ticket_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
"player_id": "player_123",
"matchmaker_id": "c0c17d62-890e-4788-83e0-f16be8db4901",
"status": "In Queue",
"created_at": 1678886400000,
"elo": 1250,
"gameBuild": "Build_1.2.3",
"regions": [
"NA-East",
"EU-West"
],
"match": {}
}
],
"teams": [
[
{
"ticket_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
"player_id": "player_123",
"matchmaker_id": "c0c17d62-890e-4788-83e0-f16be8db4901",
"status": "In Queue",
"created_at": 1678886400000,
"elo": 1250,
"gameBuild": "Build_1.2.3",
"regions": [
"NA-East",
"EU-West"
],
"match": {}
}
]
],
"server": {
"instance_id": "srv_abc123",
"name": "lobby-xyz-server",
"network_ports": [
{
"name": "game",
"internal_port": 7777,
"external_port": 7777,
"protocol": "udp",
"host": "127.0.0.1",
"tls_enabled": false
}
],
"status": "running",
"startup_args": {},
"service_type": "match_based",
"compute_size": "small",
"region": "us-east",
"version_tag": "<string>",
"started_at": "2023-03-15T10:00:00Z",
"stopped_at": {},
"custom_data": {},
"ttl": 3600,
"connect_code": "XYZ123",
"game_build": "Build_1.2.3"
}
}
]
Assistant
Responses are generated using AI and may contain mistakes.