BasicOld Games
Old Games
These endpoints allow you to retrieve all old games, a single old game by its id, or a random old game. The response will be an array of JSON objects if you request all games, or a single JSON object if you request a single game or a random game.
The Old Game model
Prop | Type | Default |
---|---|---|
id | integer | - |
slug | string | - |
name | string | - |
description | string | - |
released | string | - |
image | object | - |
genre | Array<string> | - |
All old games
GET/old-games
Retrieve all old games.
Single old game
GET/old-games/<id>
Retrieve a single old game by its id.
Random old game
GET/old-games/random
Retrieve a random old game.