Skip to main content
POST
/
api
/
v1
/
cubic
/
edge
Get Edge
curl --request POST \
  --url http://50.187.81.221:4000/api/v1/cubic/edge \
  --header 'Content-Type: application/json' \
  --data '
{
  "gameID": "uniqueGame123",
  "teamName": "RedTeam",
  "edge": {
    "v1": {
      "x": 0,
      "y": 0,
      "z": 0
    },
    "v2": {
      "x": 1,
      "y": 0,
      "z": 0
    }
  }
}
'

Body

application/json

Request to retrieve data associated with a specific edge on the game cube for a given game and team.

Data transfer object for requesting data associated with a specific edge.

gameID
string
required

The unique identifier of the game.

teamName
string
required

The name of the team requesting the edge data.

edge
object
required

The specific edge for which to retrieve data.

Response

201

Edge data retrieved successfully.