Map
Dino positions.
GET/api/v1/map/positions
Every player's live position (needs location:read)
Engine centimetres (the same frame as the in-game map). `feed` says ok, empty, stale or no_source; `age_s` is each pin's age. For changes as they happen, use /map/positions/stream.
Answers
200OK
{
"feed": "ok",
"server_now": 1793491200,
"revision": "9b1d...",
"positions": [
{
"steam_id": "76561199999999901",
"x": -120400,
"y": 233810.5,
"yaw": 91,
"species": "Stegosaurus",
"age_s": 1
}
]
}401Error
error | object | |
error.code | string | |
error.message | string |
403Error
error | object | |
error.code | string | |
error.message | string |
429Error
error | object | |
error.code | string | |
error.message | string |
Code
curl "https://your-site.com/api/v1/map/positions" \
-H "Authorization: Bearer $SEQUENCE_KEY"