This is the documentation of the Leaderboard API service we created for this capstone project.

Base URL

<aside> ⚠️ Common mistake: using the wrong format of your request. So if you get a 404 Not Found Error, double-check if you are using correct URL and action. For example: 'curl' won't work as /games endpoint does not allow for GET action.




Allowed actions:

Mandatory parameters for POST action:

Parameters example for POST action (sent in the body of the request in JSON format):

	"name": "My cool new game" 

Return value: unique identifier for the game

	"result": "Game with ID: **Zl4d7IVkemOTTVg2fUdz** added."


URL parameters: