\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n
Response Classes
\n
\n \n
Return value: CurrentGameInfo
\n \n \n \n\n\n
\n
CurrentGameInfo
\n \n
\n
\n \n \n | Name | \n Data Type | \n Description | \n
\n \n \n \n \n | gameId | \n \n \n long\n \n | \n The ID of the game\n \n | \n
\n \n \n | gameType | \n \n \n string\n \n | \n The game type\n \n | \n
\n \n \n | gameStartTime | \n \n \n long\n \n | \n The game start time represented in epoch milliseconds\n \n | \n
\n \n \n | mapId | \n \n \n long\n \n | \n The ID of the map\n \n | \n
\n \n \n | gameLength | \n \n \n long\n \n | \n The amount of time in seconds that has passed since the game started\n \n | \n
\n \n \n | platformId | \n \n \n string\n \n | \n The ID of the platform on which the game is being played\n \n | \n
\n \n \n | gameMode | \n \n \n string\n \n | \n The game mode\n \n | \n
\n \n \n | bannedChampions | \n \n \n List[BannedChampion]\n \n | \n Banned champion information\n \n | \n
\n \n \n | gameQueueConfigId | \n \n \n long\n \n | \n The queue type (queue types are documented on the Game Constants page)\n \n | \n
\n \n \n | observers | \n \n \n Observer\n \n | \n The observer information\n \n | \n
\n \n \n | participants | \n \n \n List[CurrentGameParticipant]\n \n | \n The participant information\n \n | \n
\n \n \n
\n
\n\n
\n
BannedChampion
\n \n
\n
\n \n \n | Name | \n Data Type | \n Description | \n
\n \n \n \n \n | pickTurn | \n \n \n int\n \n | \n The turn during which the champion was banned\n \n | \n
\n \n \n | championId | \n \n \n long\n \n | \n The ID of the banned champion\n \n | \n
\n \n \n | teamId | \n \n \n long\n \n | \n The ID of the team that banned the champion\n \n | \n
\n \n \n
\n
\n\n
\n
Observer
\n \n
\n
\n \n \n | Name | \n Data Type | \n Description | \n
\n \n \n \n \n | encryptionKey | \n \n \n string\n \n | \n Key used to decrypt the spectator grid game data for playback\n \n | \n
\n \n \n
\n
\n\n
\n
CurrentGameParticipant
\n \n
\n
\n \n \n | Name | \n Data Type | \n Description | \n
\n \n \n \n \n | championId | \n \n \n long\n \n | \n The ID of the champion played by this participant\n \n | \n
\n \n \n | perks | \n \n \n Perks\n \n | \n Perks/Runes Reforged Information\n \n | \n
\n \n \n | profileIconId | \n \n \n long\n \n | \n The ID of the profile icon used by this participant\n \n | \n
\n \n \n | bot | \n \n \n boolean\n \n | \n Flag indicating whether or not this participant is a bot\n \n | \n
\n \n \n | teamId | \n \n \n long\n \n | \n The team ID of this participant, indicating the participant's team\n \n | \n
\n \n \n | puuid | \n \n \n string\n \n | \n The encrypted puuid of this participant. null when the player is anonym.\n \n | \n
\n \n \n | spell1Id | \n \n \n long\n \n | \n The ID of the first summoner spell used by this participant\n \n | \n
\n \n \n | spell2Id | \n \n \n long\n \n | \n The ID of the second summoner spell used by this participant\n \n | \n
\n \n \n | gameCustomizationObjects | \n \n \n List[GameCustomizationObject]\n \n | \n List of Game Customizations\n \n | \n
\n \n \n
\n
\n\n
\n
Perks
\n \n
\n
\n \n \n | Name | \n Data Type | \n Description | \n
\n \n \n \n \n | perkIds | \n \n \n List[long]\n \n | \n IDs of the perks/runes assigned.\n \n | \n
\n \n \n | perkStyle | \n \n \n long\n \n | \n Primary runes path\n \n | \n
\n \n \n | perkSubStyle | \n \n \n long\n \n | \n Secondary runes path\n \n | \n
\n \n \n
\n
\n\n
\n
GameCustomizationObject
\n \n
\n
\n \n \n | Name | \n Data Type | \n Description | \n
\n \n \n \n \n | category | \n \n \n string\n \n | \n Category identifier for Game Customization\n \n | \n
\n \n \n | content | \n \n \n string\n \n | \n Game Customization content\n \n | \n
\n \n \n
\n
\n\n\n
\n\n
\n\n
\n
Response Errors
\n
\n \n \n | HTTP Status Code | \n Reason | \n
\n \n \n \n \n | 400 | \n Bad request | \n
\n \n \n | 401 | \n Unauthorized | \n
\n \n \n | 403 | \n Forbidden | \n
\n \n \n | 404 | \n Data not found | \n
\n \n \n | 405 | \n Method not allowed | \n
\n \n \n | 415 | \n Unsupported media type | \n
\n \n \n | 429 | \n Rate limit exceeded | \n
\n \n \n | 500 | \n Internal server error | \n
\n \n \n | 502 | \n Bad gateway | \n
\n \n \n | 503 | \n Service unavailable | \n
\n \n \n | 504 | \n Gateway timeout | \n
\n \n \n
\n\n
\n\n
\n\n \n\n\n \n \n \n \n \n\n"}