Off Canvas sidebar is empty

Save A New Game

Endpoint: /newgame

Request Data Parameters

 

Parameter

Required

Type

Description

gametitle

yes

STRING

 

 

Example Request Payload

{
   "gametitle": "your new game"
}

Description

Saves a new game and returns the new game_id.

Response Data Parameters

Parameter

Required

Type

Description

error

yes

BOOLEAN

 

message

yes

INT

 

game_id

yes

INT

 

Example Response

{
   "error":false,
   "message":"Success",
   "game_id": 1
}

Example Error Response

{
   "error":true,
    "message":"Invalid API Key",
}

 

Tilerank.com Uses Cookies

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies.

Privacy