On socket connected
Accepts the following message:
{
"channel": "connected",
"response_id": "",
"status": {
"code": 200,
"message": "OK"
},
"data": {}
}
SCLP-25 Information about login from another Client and close connection
Accepts the following message:
{
"channel": "logout",
"response_id": "",
"status": {
"code": 200,
"message": "OK"
},
"data": {}
}
Maintain conection response
Accepts the following message:
{
"channel": "ping",
"response_id": "aaa-sll-asdasdjj-s11-ssd-1",
"status": {
"code": 200,
"message": "OK"
},
"data": {
"message": "pong"
}
}
Maintain conection message
Accepts the following message:
{
"channel": "ping",
"request_id": "aaa-sll-asdasdjj-s11-ssd-1"
}
Response information about settings
Accepts the following message:
{
"channel": "settings",
"response_id": "aaa-sll-asdasdjj-s11-ssd",
"status": {
"code": 200,
"message": "OK"
},
"data": {
"time": {
"ping_pong": 15000
}
}
}
Server info about settings
Accepts the following message:
{
"channel": "settings",
"request_id": "aaa-sll-asdasdjj-s11-ssd"
}
Info about upcomint incidents for certain game
Accepts the following message:
{
"channel": "incident",
"response_id": "",
"status": {
"code": 200,
"message": "OK"
},
"data": {
"gameId": 0,
"teamId": 0,
"text": "string",
"type": "cardYellow",
"videoUrl": "string",
"minute": 0,
"second": 0
}
}
Info about bets for certain game
Accepts the following message:
{
"channel": "bet",
"response_id": "",
"status": {
"code": 200,
"message": "OK"
},
"data": {
"bets": [
{
"teamId": 0,
"gameId": 0,
"text": "string",
"type": "cardYellow",
"outcomes": [
{
"id": 0,
"outcome": "over 2.5",
"odds": 1.66
}
]
}
]
}
}
Updates the status of bets
Accepts the following message:
{
"channel": "bets-result",
"response_id": "",
"status": {
"code": 200,
"message": "OK"
},
"data": {
"betResults": [
{
"id": 0,
"status": 0
}
]
}
}
Updates the balance of the user
Accepts the following message:
{
"channel": "balance",
"response_id": "",
"status": {
"code": 200,
"message": "OK"
},
"data": {
"balance": 0
}
}
Updates a set of stats
Accepts the following message:
{
"channel": "stats",
"response_id": "",
"status": {
"code": 200,
"message": "OK"
},
"data": {
"isEnabled": true,
"gameId": 0,
"text": "string"
}
}