Retrieve game history metadata
Retrieve game history metadata
Retrieves the game history metadata for a game managed by the Sinatra service.
Request endpoint: /transactions/{version}/games/history/metadata
Request Method: GET
Request Parameters
| Parameter | Where To Place | Data Type | Description |
|---|---|---|---|
| jwt-auth | header | String required | The session ID received from the login request. The session ID is valid for only 20 minutes. |
| version | path | String required | The API version. Only version 1.0 is currently supported. Other version values are accepted but are treated as 1.0. Example:1.0 |
Example Response:
Success response:
{
"brands": [
{
"organizationId": 0,
"organizationName": "string",
"operatorId": 0,
"operatorName": "string",
"brandId": 0,
"brandName": "string"
}
],
"providers": [
{
"providerId": 0,
"providerName": "string"
}
],
"timePeriods": [
"string"
],
"gameTypes": [
"string"
],
"gameCategories": [
"string"
]
}Error Response:
{
"errMsg": "unauthorized"
}Response codes:
| Code | Status | Message |
|---|---|---|
| 200 | success | Got games history metadata successfully |
| 401 | unauthorized | unauthorized |
| 403 | forbidden_operation | forbidden_operation |
| 500 | internal server error | internal server error |