Create¶
Insert a new statistic in this game.
HTTP request¶
POST https://megamify.com/api/v1/game/:game_id/statistic/
Parameters¶
Name | Required | Type | Description |
---|---|---|---|
game_id | True | int | The Game 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: 201 Created
If successful, this method returns a Statistic object in the response body.