IodidDOCUMENTATION

api/livegame/by-puuid.mdx

/doc/api/livegame/by-puuid

PUBLIC DOCUMENTATION

Livegame by puuid

Live game spectator data by puuid — volatile, no 202.

GET/api/lol/{shard}/livegame/{puuid}

Livegame by puuid

Path params

Request
https://api.safjnest.com/api/lol/EUW1/livegame/{puuid}
curl "https://api.safjnest.com/api/lol/EUW1/livegame/{puuid}"

Missing required: puuid

CORS enabled (*) — runs directly in your browser against https://api.safjnest.com

Livegame — by puuid

GET /api/lol/{shard}/livegame/{puuid}

Live game (spectator) — live data from R4J spectator.

  • Controller: LolController.java:240 → SummonerService.getLiveGame → 404 if null (:249)
  • Response: 200 LiveGame | 404 not_found (no 202 — volatile data, not queued)
  • Cache: R4J_SPECTATOR_CURRENT TTL 60s (RedisKey.java:16)
ParameterPositionValidation
shardpathrequiredShard
puuidpathrequiredText(puuid,"puuid")

Response: LiveGame (src/main/java/com/safjnest/lol/model/match/LiveGame.java):

java
public record LiveGame(long gameId, GameQueueType queue, long gameStartTime, List<LiveParticipant> participants) {}

curl

bash
curl "https://api.safjnest.com/api/lol/EUW1/livegame/abc-puuid"