CatenaApiKeys
Enum Value | Description |
---|---|
0 | Unspecified |
1 | InProgress |
2 | Completed |
3 | Cancelled |
4 | Failed |
5 | FindingServer |
6 | MatchmakingTimedOut |
On the right hand side of this page, you will see a list of "Servers".
To configure which server is shown in example requests:
domain
environment variable.curl -i -X POST \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/matchmaking/start \
-H 'Content-Type: application/json' \
-d '{
"entity": {
"id": "string",
"displayName": "string",
"entityType": "ENTITY_TYPE_UNSPECIFIED",
"entities": [
{}
],
"metadata": {
"property1": {
"stringPayload": "string",
"intPayload": 0,
"jsonPayload": "string"
},
"property2": {
"stringPayload": "string",
"intPayload": 0,
"jsonPayload": "string"
}
}
}
}'
{ "ticketId": "string" }
curl -i -X POST \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/matchmaking/cancel \
-H 'Content-Type: application/json' \
-d '{
"ticketId": "string"
}'
{}
curl -i -X GET \
'https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/matchmaking/{ticketId}'
{ "status": "MATCHMAKING_STATUS_UNSPECIFIED" }
curl -i -X POST \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/matchmaking/server/start \
-H 'Content-Type: application/json' \
-d '{
"entity": {
"id": "string",
"displayName": "string",
"entityType": "ENTITY_TYPE_UNSPECIFIED",
"entities": [
{}
],
"metadata": {
"property1": {
"stringPayload": "string",
"intPayload": 0,
"jsonPayload": "string"
},
"property2": {
"stringPayload": "string",
"intPayload": 0,
"jsonPayload": "string"
}
}
}
}'
{ "ticketId": "string" }
curl -i -X POST \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/matchmaking/server/cancel \
-H 'Content-Type: application/json' \
-d '{
"ticketId": "string"
}'
{}
curl -i -X GET \
'https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/matchmaking/server/{ticketId}'
{ "status": "MATCHMAKING_STATUS_UNSPECIFIED" }
curl -i -X GET \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/matchmaking/tickets
{ "tickets": [ { … } ] }
curl -i -X GET \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/matchmaking/healthz
{ "healthy": true, "components": [ { … } ] }
curl -i -X GET \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/matchmaking/admin/config
{ "catenaMatchmakerConfig": { "matchmakingQueues": { … }, "statusExpirationMinutes": 0, "customHooks": "string" }, "flexMatchConfig": { "sqsQueueUrl": "string", "gameliftConfig": { … } }, "customMatchmakerConfig": "string" }
curl -i -X POST \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/matchmaking/admin/config \
-H 'Content-Type: application/json' \
-d '{
"config": "string"
}'