| All Verbs | /qry/config/game | ||
|---|---|---|---|
| All Verbs | /config/game |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | string | No | |
| QueueSize | form | int | No | |
| RoundConfiguration | form | RoundConfiguration | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CountdownDurationInSeconds | form | int | No | |
| RaceDurationInSeconds | form | int | No | |
| ResultsDurationInSeconds | form | int | No | |
| IsJackpotActive | form | bool | No | |
| RTPStrategy | form | RTPStrategies | No |
| Name | Value | |
|---|---|---|
| RNG | 0 | |
| Default | 1 |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /qry/config/game HTTP/1.1
Host: grh1.api.bettor.webhop.biz
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
id: String,
queueSize: 0,
roundConfiguration:
{
countdownDurationInSeconds: 0,
raceDurationInSeconds: 0,
resultsDurationInSeconds: 0,
isJackpotActive: False,
rtpStrategy: 0
}
}