Game

Create a new game with id

post/game/{id}

Path parameters

idstring required

Unique Game ID

Request body

uidstring
gamestring
variantstring
instring
outstring
soundboolean
podiumboolean
autoswitchboolean
cricketrandomboolean
cricketghostboolean

Example request

{
  "uid": "dascr",
  "player": [
    1,
    2
  ],
  "game": "x01",
  "variant": "501",
  "in": "straight",
  "out": "double",
  "sound": true
}

Response

successful operation

uidstring
playerinteger[]
gamestring
variantstring
instring
outstring
soundboolean
podiumboolean
autoswitchboolean
cricketrandomboolean
cricketghostboolean

Changes

Changed in 3 of the 5 revisions of this API.44

    • removed the request property elimination

      request-property-removed

    • removed the optional property elimination from the response with the 200 status

      response-optional-property-removed

  • c7586dd3c25722See the full diff
    • removed the request property punisher

      request-property-removed

    • removed the optional property punisher from the response with the 200 status

      response-optional-property-removed

    • added the new optional request property elimination

      new-optional-request-property

    • added the optional property elimination to the response with the 200 status

      response-optional-property-added

    • added the new optional request property punisher

      new-optional-request-property

    • added the optional property punisher to the response with the 200 status

      response-optional-property-added