Skip to content

Instantly share code, notes, and snippets.

@esseguin
Last active March 5, 2020 20:46
Show Gist options
  • Save esseguin/37cba7f41d48f8251985200daff3fd39 to your computer and use it in GitHub Desktop.
Save esseguin/37cba7f41d48f8251985200daff3fd39 to your computer and use it in GitHub Desktop.
Smashgg public API changelog 3/5/20

New / updated fields

Participant

✔️ Field user was added to object type Participant

Set

✔️ Field stream was added to object type Set

Stream

✔️ Stream.isOnline description changed from Unix timestamp for when the token expires to Whether the stream is currently live. May be slightly delayed.

Tournament

✔️ Field owner was added to object type Tournament

✔️ Tournament.rules description changed from [Deprecated] General tournament rules to None

✔️ Tournament.tournamentType description changed from None to The type of tournament from TournamentType

Deprecations

Event

✔️ Deprecation reason on field Event.rulesetSettings changed from None to Use ruleset

Participant

✔️ Deprecation reason on field Participant.contactInfo changed from None to Use User.location

ContactInfo

✔️ Deprecation reason on field ContactInfo.countryId changed from None to This entire type is deprecated. Use User.location

✔️ Deprecation reason on field ContactInfo.state changed from None to This entire type is deprecated. Use User.location

✔️ Deprecation reason on field ContactInfo.city changed from None to This entire type is deprecated. Use User.location

✔️ Deprecation reason on field ContactInfo.nameLast changed from None to This entire type is deprecated. Use User.location

✔️ Deprecation reason on field ContactInfo.name changed from None to This entire type is deprecated. Use User.location

✔️ Deprecation reason on field ContactInfo.nameFirst changed from None to This entire type is deprecated. Use User.location

✔️ Deprecation reason on field ContactInfo.country changed from None to This entire type is deprecated. Use User.location

✔️ Deprecation reason on field ContactInfo.zipcode changed from None to This entire type is deprecated. Use User.location

✔️ Deprecation reason on field ContactInfo.stateId changed from None to This entire type is deprecated. Use User.location

Removing previously deprecated, now unused fields

Station

❌ Field streamLogo was removed from object type Stations

❌ Field streamGame was removed from object type Stations

❌ Field streamType was removed from object type Stations

❌ Field followerCount was removed from object type Stations

❌ Field streamStatus was removed from object type Stations

❌ Field streamName was removed from object type Stations

❌ Field streamTypeId was removed from object type Stations

❌ Field streamSource was removed from object type Stations

❌ Field isOnline was removed from object type Stations

Tournament

❌ Field region was removed from object type Tournament

Set

Use setSlot resolver to get all of this info now

❌ Field entrant1Present was removed from object type Set

❌ Field entrant1Id was removed from object type Set

❌ Field entrant2Present was removed from object type Set

❌ Field entrant2Id was removed from object type Set

❌ Field entrant1Score was removed from object type Set

❌ Field entrant2Score was removed from object type Set

Removing entity ID fields

Use entity resolvers directly instead (i.e. Participant.user instead of Participant.userId)

Station

❌ Field clusterId was removed from object type Stations

❌ Field tournamentId was removed from object type Stations

❌ Field eventId was removed from object type Stations

❌ Field streamId was removed from object type Stations

Entrant

❌ Field eventId was removed from object type Entrant

Event

❌ Field videogameId was removed from object type Event

GameSelection

❌ Field participantId was removed from object type GameSelection

❌ Field entrantId was removed from object type GameSelection

Participant

❌ Field playerId was removed from object type Participant

❌ Field userId was removed from object type Participant

Seed

❌ Field entrantId was removed from object type Seed

Game

❌ Field setId was removed from object type Game

Stream

❌ Field eventId was removed from object type Streams

❌ Field tournamentId was removed from object type Streams

SetSlot

❌ Field seedId was removed from object type SetSlot

❌ Field setId was removed from object type SetSlot

Set

❌ Field eventId was removed from object type Set

❌ Field streamId was removed from object type Set

❌ Field phaseGroupId was removed from object type Set

❌ Field stationId was removed from object type Set

Standing

❌ Field entityType was removed from object type Standing

❌ Field entityId was removed from object type Standing

Team

❌ Field eventId was removed from object type Team

❌ Field entrantId was removed from object type Team

PhaseGroup

❌ Field waveId was removed from object type PhaseGroup

❌ Field phaseId was removed from object type PhaseGroup

Hiding private fields

Stream

❌ Field externalStreamId was removed from object type Stream

Station

❌ Field createdAt was removed from object type Stations

Participant

❌ Field claimed was removed from object type Participant

❌ Field phoneNumber was removed from object type Participant

❌ Field checkedIn was removed from object type Participant

❌ Field checkedInAt was removed from object type Participant

❌ Field createdAt was removed from object type Participant

Tournament and League

❌ Field notifyAdmins was removed from object type Tournament and League

❌ Field reminderInterval was removed from object type Tournament and League

❌ Field paypalMode was removed from object type Tournament and League

❌ Field includeQRCheckIn was removed from object type Tournament and League

❌ Field qrCodeRedirect was removed from object type Tournament and League

❌ Field details was removed from object type Tournament and League

❌ Field ownerId was removed from object type Tournament and League

❌ Field stripeMode was removed from object type Tournament and League

❌ Field onsitePaymentMode was removed from object type Tournament and League

❌ Field stripeUserId was removed from object type Tournament and League

❌ Field emailNote was removed from object type Tournament and League

❌ Field adminUrl was removed from object type Tournament and League

❌ Field qrCodeRedirectType was removed from object type Tournament and League

❌ Field hideAdmins was removed from object type Tournament and League

❌ Field approved was removed from object type Tournament and League

⚠️ Field contactTwitter was removed from object type Tournament and League

⚠️ Field contactPhone was removed from object type Tournament and League

❌ Field gettingThere was removed from object type Tournament and League

❌ Field attendeeFieldConfig was removed from object type Tournament and League

❌ Field includeQRCode was removed from object type Tournament and League

❌ Field generatedTabs was removed from object type Tournament and League

❌ Field emailDirections was removed from object type Tournament and League

❌ Field defaultTab was removed from object type Tournament and League

⚠️ Field contactEmail was removed from object type Tournament and League

❌ Field prizes was removed from object type Tournament and League

❌ Field paypalUser was removed from object type Tournament and League

❌ Field emailInstructions was removed from object type Tournament and League

❌ Field customMarkdown was removed from object type Tournament and League

Player

❌ Field color was removed from object type Player

❌ Field gamerTagChangedAt was removed from object type Player

Address

❌ Field updatedAt was removed from object type Address

❌ Field userId was removed from object type Address

❌ Field nameLast was removed from object type Address

❌ Field phoneNumber was removed from object type Address

❌ Field overrideAddress was removed from object type Address

❌ Field type was removed from object type Address

❌ Field nameFirst was removed from object type Address

❌ Field address2 was removed from object type Address

❌ Field zipcode was removed from object type Address

❌ Field createdAt was removed from object type Address

❌ Field address was removed from object type Address

ProfileAuthorization

❌ Field metadata was removed from object type ProfileAuthorization

❌ Field accessToken was removed from object type ProfileAuthorization

❌ Field externalId was removed from object type ProfileAuthorization

❌ Field expiresAt was removed from object type ProfileAuthorization

Image

❌ Field entity was removed from object type Image

❌ Field uploadedBy was removed from object type Image

❌ Field isOriginal was removed from object type Image

❌ Field entityId was removed from object type Image

Stream

❌ Field removesTasks was removed from object type Streams

Set

❌ Field updatedAtMicro was removed from object type Set

ID type changes

RaceMatchConfig.id type changed from Int to ID

BracketConfig.id type changed from Int to ID

MatchConfig.id type changed from Int to ID

RaceBracketConfig.id type changed from Int to ID

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment