Create¶
Insert a new game data in this game.
HTTP request¶
POST https://megamify.com/api/v1/game/:game_id/gamedata/
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 |
---|---|---|---|
key | True | string | The key |
value | True | string/object | The value |
data_type | True | int | The data type (1=string , 2=json , 3=incrementer ) |
permission | True | int | The permission type (1=Read Only , 2=Read Write ) |
Response¶
Status: 201 Created
If successful, this method returns a GameData object in the response body.