CatenaApiKeys
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 GET \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/events/subscribe
{ "event": { "eventId": "string", "recipientId": "string", "anyEvent": { … }, "partyUpdateEvent": { … }, "matchmakingStatusUpdateEvent": { … }, "emptyEvent": {}, "authenticationEvent": { … }, "newMatchEvent": { … }, "announcementEvent": { … }, "accountsEvent": { … }, "friendsEvent": { … } } }
curl -i -X GET \
'https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/events/subscribe/tags?eventTags=string&senderId=string'
{ "event": { "eventId": "string", "recipientId": "string", "anyEvent": { … }, "partyUpdateEvent": { … }, "matchmakingStatusUpdateEvent": { … }, "emptyEvent": {}, "authenticationEvent": { … }, "newMatchEvent": { … }, "announcementEvent": { … }, "accountsEvent": { … }, "friendsEvent": { … } }, "eventTags": [ "string" ] }
curl -i -X POST \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/events/emit \
-H 'Content-Type: application/json' \
-d '{
"nestedEvent": {
"eventId": "string",
"recipientId": "string",
"anyEvent": {
"@type": "string",
"property1": null,
"property2": null
},
"partyUpdateEvent": {
"type": "PARTY_UPDATE_TYPE_UNSPECIFIED",
"message": "string",
"partyId": "string",
"eventPayload": {
"property1": {
"boolValue": true,
"metadataValue": {
"key": "string",
"value": {
"stringPayload": "string",
"intPayload": 0,
"jsonPayload": "string"
}
},
"stringValue": "string",
"playerValue": {
"playerId": "string",
"displayName": "string",
"isReady": true,
"isLeader": true,
"teamNumber": 0,
"metadata": {
"property1": {},
"property2": {}
}
},
"intValue": 0,
"metadataMapValue": {
"metadata": {
"property1": {},
"property2": {}
}
}
},
"property2": {
"boolValue": true,
"metadataValue": {
"key": "string",
"value": {
"stringPayload": "string",
"intPayload": 0,
"jsonPayload": "string"
}
},
"stringValue": "string",
"playerValue": {
"playerId": "string",
"displayName": "string",
"isReady": true,
"isLeader": true,
"teamNumber": 0,
"metadata": {
"property1": {},
"property2": {}
}
},
"intValue": 0,
"metadataMapValue": {
"metadata": {
"property1": {},
"property2": {}
}
}
}
}
},
"matchmakingStatusUpdateEvent": {
"type": "MATCHMAKING_STATUS_UPDATE_TYPE_UNSPECIFIED",
"message": "string",
"ticketId": "string",
"additionalEventData": "string"
},
"emptyEvent": {},
"authenticationEvent": {
"type": "LOGOUT",
"catenaAccountId": "string",
"platformAccountId": "string",
"platform": "PLATFORM_UNSPECIFIED"
},
"newMatchEvent": {
"match": {
"matchId": "string",
"playerIds": [
"string"
],
"matchProperties": "string",
"playerProperties": {
"property1": "string",
"property2": "string"
}
}
},
"announcementEvent": {
"message": "string"
},
"accountsEvent": {
"type": "CREATE_OR_GET_ACCOUNT",
"accountId": "string",
"isNewAccount": true,
"newPlatformType": "PLATFORM_UNSPECIFIED",
"platforms": [
"PLATFORM_UNSPECIFIED"
]
},
"friendsEvent": {
"type": "UNSPECIFIED",
"senderAccountId": "string",
"receiverAccountId": "string"
}
},
"recipientIds": [
"string"
],
"eventTags": [
"string"
],
"broadcast": true
}'
{ "broadcastSuccess": true }
curl -i -X POST \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/admin/events/emit \
-H 'Content-Type: application/json' \
-d '{
"nestedEvent": {
"eventId": "string",
"recipientId": "string",
"anyEvent": {
"@type": "string",
"property1": null,
"property2": null
},
"partyUpdateEvent": {
"type": "PARTY_UPDATE_TYPE_UNSPECIFIED",
"message": "string",
"partyId": "string",
"eventPayload": {
"property1": {
"boolValue": true,
"metadataValue": {
"key": "string",
"value": {
"stringPayload": "string",
"intPayload": 0,
"jsonPayload": "string"
}
},
"stringValue": "string",
"playerValue": {
"playerId": "string",
"displayName": "string",
"isReady": true,
"isLeader": true,
"teamNumber": 0,
"metadata": {
"property1": {},
"property2": {}
}
},
"intValue": 0,
"metadataMapValue": {
"metadata": {
"property1": {},
"property2": {}
}
}
},
"property2": {
"boolValue": true,
"metadataValue": {
"key": "string",
"value": {
"stringPayload": "string",
"intPayload": 0,
"jsonPayload": "string"
}
},
"stringValue": "string",
"playerValue": {
"playerId": "string",
"displayName": "string",
"isReady": true,
"isLeader": true,
"teamNumber": 0,
"metadata": {
"property1": {},
"property2": {}
}
},
"intValue": 0,
"metadataMapValue": {
"metadata": {
"property1": {},
"property2": {}
}
}
}
}
},
"matchmakingStatusUpdateEvent": {
"type": "MATCHMAKING_STATUS_UPDATE_TYPE_UNSPECIFIED",
"message": "string",
"ticketId": "string",
"additionalEventData": "string"
},
"emptyEvent": {},
"authenticationEvent": {
"type": "LOGOUT",
"catenaAccountId": "string",
"platformAccountId": "string",
"platform": "PLATFORM_UNSPECIFIED"
},
"newMatchEvent": {
"match": {
"matchId": "string",
"playerIds": [
"string"
],
"matchProperties": "string",
"playerProperties": {
"property1": "string",
"property2": "string"
}
}
},
"announcementEvent": {
"message": "string"
},
"accountsEvent": {
"type": "CREATE_OR_GET_ACCOUNT",
"accountId": "string",
"isNewAccount": true,
"newPlatformType": "PLATFORM_UNSPECIFIED",
"platforms": [
"PLATFORM_UNSPECIFIED"
]
},
"friendsEvent": {
"type": "UNSPECIFIED",
"senderAccountId": "string",
"receiverAccountId": "string"
}
},
"recipientIds": [
"string"
],
"eventTags": [
"string"
],
"broadcast": true
}'
{ "broadcastSuccess": true }