Skip to main content
POST
/
api
/
v1
/
cubic
/
neighbors
Get Neighbors
curl --request POST \
  --url http://50.187.81.221:4000/api/v1/cubic/neighbors \
  --header 'Content-Type: application/json' \
  --data '
{
  "gameID": "uniqueGame123"
}
'

Body

application/json

Request to get the neighboring cubes/vertices for a given game.

Data transfer object for requesting information about neighboring positions on the game cube.

gameID
string
required

The unique identifier of the game.

Response

201

List of neighbors retrieved successfully.