Skip to main content
View Game Round History
curl --request GET \
  --url https://ss.game-services.work/platform/api/game-rounds \
  --header 'Authorization: Bearer <token>'
GET /platform/api/game-rounds

Headers

NameTypeDescription
AuthorizationstringBearer token authorization header (format: Bearer your_token_here).

Request Parameters

NameTypeDescription
roundIdstringUnique identifier of the game round

Response Parameters

NameTypeDescription
actionsarrayArray of player actions in the game round
Each action object contains:
NameTypeDescription
gameobjectGame information (uuid, name, softwareProvider, gameCode)
playerobjectPlayer information (login, currency, uuid)
windowIdnumberGame window identifier
betIdnumberBet identifier
actionIdnumberAction sequence number
timestampstringAction timestamp (format: “YYYY-MM-DD HH:mm:ss.SSS”)
currencystringTransaction currency
betnumberBet amount in original currency
betEurnumberBet amount in EUR
betUsdnumberBet amount in USD
winnumberWin amount in original currency
winEurnumberWin amount in EUR
winUsdnumberWin amount in USD
actionstringAction details string

Implementation Guide

1. Embed History Viewer

Add the following iframe element to your page to display the game history:
<iframe id="history"
        width="800"
        height="600"
        src="http://back-office.b-cdn.net/#/action/short"
        style="display:none;"
>
</iframe>

2. Display History Data

Use the following JavaScript code to send the response data to the iframe:
const data = "..." //response here
const frame = document.getElementById("history");
const frameWindow = frame.contentWindow;
frameWindow.postMessage(JSON.parse(data), "*");
frame.style.display = "block"

Possible Errors

messageKeymessage
error.player.id.not.foundPlayer not found by id=[$id]
error.operator.id.not.foundOperator not found by id=[$id]
error.user.no.access.operatorUser[uuid = $userUuid] has no access to Operator[uuid = $operatorUuid]
error.game.id.not.foundGame not found by id=[$id]
I