Update¶
Update a statistic with the given ID.
HTTP request¶
PUT https://megamify.com/api/v1/game/:game_id/statistic/:statistic_id/
Parameters¶
| Name | Required | Type | Description |
|---|---|---|---|
| game_id | True | int | The Game ID |
| statistic_id | True | int | The Statistic ID |
Headers¶
See Security section of the API Reference.
Body¶
| Name | Required | Type | Description |
|---|---|---|---|
| game | True | int | Game ID |
| name | True | string | Statistic name |
Response¶
Status: 200 OK
If successful, this method returns a Statistic object in the response body.