Games

Get game details page

Returns everything the game details page renders: the game card, the current user's participation standing (selfie owed, whether they may leave), the content_state of the recording and, when content is available, the clips / photos / highlights / replays sections. When content is not yet available, sections is empty and empty_state carries the copy to show. content_delayed is only returned to clients whose X-App-Version / X-OTA-Datetime headers mark them as able to render it; older clients receive no_recording instead. A game still backing up from an on-demand arena is reported as content_available with partial true. The response is cached per game and user.

get/v1/games/{game_id}/details

Request

  • Base URL
    https://api.hify.club
  • Auth
    API key in header X-User-Token

Response

Game details page

needs_selfieboolean required

True when the current user still owes a selfie for this game.

can_exitboolean required

True when the current user may leave the game.

content_state'scheduled' | 'recording' | 'content_available' | 'content_delayed' | 'no_recording' required
partialboolean required

True while an on-demand arena is still backing up this game's footage. content_state is then content_available, and sections fill in as segments land.

Example response

{
  "empty_state": {
    "eta": {
      "display_value": "ETA TODAY, 8 PM"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.