1. docker pull syedshahidashiqali/ionos-api-server
2. docker run -p 5000:5000 --name any-container-name syedshahidashiqali/ionos-api-server:latest
/api
Structure:
GET /labyrinth
Structure:
GET /labyrinth/:id
Structure:
POST /labyrinth
Set the type of the specific block of the labyrinth using x/y coordinates (type is either 'empty' or 'filled'):
Structure:
PUT /labyrinth/:id/playfield/:x/:y/:type
Structure:
PUT /labyrinth/:id/start/:x/:y
Structure:
PUT /labyrinth/:id/end/:x/:y
Structure:
GET /labyrinth/:id/solution
['left', 'up', 'right', 'down', 'down', 'down']