Games Categories
This method returns all of the game IDs for the games that a player played. use gateway.[msdomain] mode: You can retrieve the data in two formats:
- By default, the data is formatted by categories only.
- mode=category: When you add this parameter, the data is formatted as two JSON objects: one for the game IDs and names, and one for the categories to which the games belong.
Request (GET)
/gateway/history/{version}/games/{brand_id}
Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| version | path | string | true | The API version to use. |
| brand_id | path | string | true | The ID of the casino. |
| mode | query | string | false | You can retrieve the data in two formats: |
| x-auth-token | header | string | false | The player’s authentication token, in UUID format. |
Response
Status 200
[
{
"Table": [
{
"name": "European Blackjack",
"id": "1191"
}
]
},
{
"Classic Slots": [
{
"name": "Angel Slot",
"id": "134"
},
{
"name": "Fashion Slot",
"id": "152"
}
]
}
]Status 400
{
"errMsg": "invalid input - invalid brand id"
}Status 500
{
"result": "internal server error"
}Response Parameters:
| Name | Description |
|---|---|
| html | Game launch url, if platform is desktop, will be wrapped in iframe. |
| htmlIndicator | indication if platform is desktop. |
| provideRC | indication if RC check should be performed on our side, if yes, need to continue to call player status. |
| isIframe | indication if game can be opened in iframe(in mobile). |
| game_url | uri for game launch without iframe. |
| game_html | Game launch url, if platform is desktop, will be wrapped in iframe. |