Game

Create new game

post/games/

Request body

Empty required

Response

Return the newly created game start timestamp with the specified id

idstring
started_oninteger

Example response

{
  "id": "sample-game",
  "started_on": 1586458255
}

Changes

Changed in 2 of the 2 revisions of this API.464

  • cbd51e3d67a852See the full diff
    • removed the request property element

      request-property-removed

    • removed the request property id

      request-property-removed

    • removed the request property value

      request-property-removed

    • removed the optional property element from the response with the 201 status

      response-optional-property-removed

    • removed the optional property value from the response with the 201 status

      response-optional-property-removed

    • request body became optional

      request-body-became-optional

    • added the optional property started_on to the response with the 201 status

      response-optional-property-added

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 9e94408e02bf412See the full diff
    • added the new required request property element

      new-required-request-property

    • added the new required request property id

      new-required-request-property

    • added the new required request property value

      new-required-request-property

    • request body became required

      request-body-became-required

    • removed the optional property started_on from the response with the 201 status

      response-optional-property-removed

    • added the optional property element to the response with the 201 status

      response-optional-property-added

    • added the optional property value to the response with the 201 status

      response-optional-property-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog