{"openapi":"3.1.0","info":{"title":"Aback Games catalogue API","version":"1.0.0","summary":"The published games, their categories and links, as static JSON.","description":"Read-only and public: no API key, account or authentication. The file is rebuilt with the site, so it always matches the pages."},"servers":[{"url":"https://abackgames.com"}],"externalDocs":{"url":"https://abackgames.com/developers"},"paths":{"/api/games.json":{"get":{"operationId":"listGames","summary":"List every published game and category","responses":{"200":{"description":"The catalogue.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Catalogue"}}}}}}}},"components":{"schemas":{"Catalogue":{"type":"object","required":["name","url","description","games","categories"],"properties":{"name":{"type":"string"},"url":{"type":"string","format":"uri"},"description":{"type":"string"},"games":{"type":"array","items":{"$ref":"#/components/schemas/Game"}},"categories":{"type":"array","items":{"$ref":"#/components/schemas/Category"}}}},"Game":{"type":"object","required":["id","title","url","markdown","summary","category","controls"],"properties":{"id":{"type":"string","description":"Stable identifier."},"title":{"type":"string"},"url":{"type":"string","format":"uri","description":"The page where the game is played."},"markdown":{"type":"string","format":"uri","description":"The page as Markdown: rules, controls and tips."},"summary":{"type":"string"},"description":{"type":"string"},"category":{"type":"string","description":"Category id."},"tags":{"type":"array","items":{"type":"string"}},"difficulty":{"type":"string","description":"The levels or settings the game offers."},"controls":{"type":"object","properties":{"keyboard":{"type":"boolean"},"touch":{"type":"boolean"}}},"cover":{"type":"string","format":"uri","description":"Cover image (SVG)."},"related":{"type":"array","items":{"type":"string"},"description":"Ids of related games."},"guides":{"type":"array","items":{"type":"string","format":"uri"},"description":"Strategy and rules guides."}}},"Category":{"type":"object","required":["id","name","games"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"url":{"type":["string","null"],"format":"uri"},"games":{"type":"array","items":{"type":"string"},"description":"Ids of the games in the category."}}}}}}