Game
PATCH /games/{id}/{element}
Changed onIncrement a game item by a certain amount
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
Example request
{
"id": "sample-game",
"element": "score",
"value": 3
}Response
The increment has been accepted
Example response
{
"id": "sample-game",
"element": "score",
"value": 3
}Changes
- info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status
- info
- breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - breaking
the response property
became optional for the status
- breaking