Game
POST /games/
Changed onCreate new game
Request
- Base URL/api/v2 (relative, and the document was published on a file host, not at the API’s origin)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Empty required
Response
Return the newly created game start timestamp with the specified id
Example response
{
"id": "sample-game",
"started_on": 1586458255
}Changes
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
request body became optional
- info
added the optional property
to the response with the status
- warning
- breaking
added the new required request property
- breaking
added the new required request property
- breaking
added the new required request property
- breaking
request body became required
- warning
removed the optional property
from the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking