External Providers

Following these requirements:
https://spordle.atlassian.net/wiki/x/DICyug

We now have external providers for the following resources:

  • Game

  • Surface

  • Office (game offices)

 

The services that we support so far:

  • Streaming

  • Ticketing

  • Stats

 

To query external providers:

In the filter for /games , /surfaces , /offices , you can specify {"include": ["externalProviders"]} which will include the externalProviders property in the record. The property default to an empty array if empty.

 

Example of external provider payload:

{ ... "externalProviders": [ { "id": "2be91f9c-c8ac-4c01-a0da-f7848df9da10", "targetType": "Office", "targetId": "3270", "service": "Stats", // service type "link": "https://www.nhl.com/stats/", // service link "provider": "NHL", // service name "externalId": null }, { "id": "6f26ecbd-b27b-4510-a075-f2137c3fa0ed", "targetType": "Office", "targetId": "3270", "service": "Streaming", "link": "https://www.livebarn.com/play-hockey", "provider": "LiveBarn", "externalId": null } ] }