As the season approaches, we're continuing to roll out API additions at a steady pace. This week we're rolling out additions focused on coin tosses and game statuses.
Public API Changes
We've added types to represent coin toss outcomes:
CoinTosshas been added.
CoinTossChoicehas been added.
CoinTossChoiceOptionhas been added.
We've added types to represent point-in-time game statuses, a.k.a. the game "situation":
GameStatushas been added.
GamePhasehas been added.
Possessionhas been added.
PrincipalWindhas been added.
YardLineTeamhas been added.
We've added new fields and arguments that can be used to access coin tosses and game statuses:
GameStatusHistoryConnectionhas been added.
Gamehas new fields:
GameStatusEdgehas been added.
Subscriptionhas new fields:
And we've added new arguments to
Query.playersConnection to give it parity with
Query.playersConnectionhas new arguments:
Private API Changes
We've also added fields that we can use to modify coin tosses and game durations:
CoinTossChoiceInputhas been added.
CoinTossInputhas been added.
GamePatchInputhas new fields: