Team view
One team's picture of the game, exactly as that team's commander sees it in the app: your own players on the map, your markers and drawings, the orders to your team, the zones your side can see, the score as far as the game master shows it, and the events meant for your team. For a team's own board, a bot in your Discord, or a big map at your base.
GET /api/v1/team
Authorization: Bearer gt_team_…
Needs a team key (gt_team_), made by the game master (for any team) or by that team's
commander (for their own team). See Authentication.
Handle a team key like your team's radio. It carries your players' live positions. Keep it off public screens and out of streams; use a dashboard key for those.
Response
{
"game": { "id": "…", "name": "…", "phase": "live", "paused": false, "startedAt": "…", "endsAt": "…" },
"team": { "id": "…", "name": "Blue", "color": "#6E9BD1" },
"serverTime": "…",
"scoreVisibility": "full",
"score": [{ "id": "…", "name": "Blue", "color": "#6E9BD1", "points": 420 }],
"zones": [{ "id": "…", "name": "ALPHA", "ownerTeamId": "…", "geometry": { "type": "Point", "coordinates": [13.0, 55.6] } }],
"units": [{ "callsign": "HAWK", "point": { "lat": 55.6, "lon": 13.0, "ce": 5 }, "status": "alive", "…": "…" }],
"lastKnown": [],
"markers": [],
"graphics": [],
"orders": [],
"orderAcks": [],
"events": [{ "type": "zone_captured", "at": "…", "actor": "HAWK", "summary": "…" }]
}
| Field | Meaning |
|---|---|
units |
Your team's players with their latest position and status, plus any enemy your side has spotted with a UAV, exactly as the commander's map shows them. |
lastKnown |
Players of your team who stopped reporting, at their last position. |
markers, graphics |
Your team's markers and drawings, and the game master's markers for everyone. |
orders, orderAcks |
Orders to your team and who acknowledged them. |
zones |
The active zones your side can see, with the team that holds each. |
score |
Every side when the game master shows the full score, only yours when it is "own side", none when it is hidden. All sides once the game has ended. |
events |
The 50 latest events meant for your team. |
What it never shows
The other side's players, markers, orders and events, zones hidden from your side, and chat. A team key never sees more than your commander does.
Freshness
Not cached: every call reads the live game. A team key may read 60 times a minute (rate limits); polling every 5 to 10 seconds is plenty.