Hudl Integration
Hudl is a national Data Hub v1 partner. Its API key belongs to the hudl
Connection. Hudl reads national data and submits schedules through
POST /data-hub/v1/contests/sync; it does not ingest scores.
Reads and contest submission
HudlClientPolicy has no state or source restriction, including for brackets.
It uses game-backed contest reads (use_games? is true), consistent with the
other national clients, SBLive and Daktronics. Primary game data supplies the
effective score/status and contests without games are excluded from those
reads. This read policy does not grant write or scoring authority.
Use Connect team IDs in contest_participants[].participant_id, with
participant_type: "team". The shared pushed-contest parser resolves these
directly; no Hudl school/team mappings are required. Use a stable partner_id
for subsequent updates, or connect_id when syncing an existing contest.
Submission is asynchronous by default; async: false runs ingestion inline.
See the API reference for the full request schema.
Hudl school, team, and roster sync requests are forbidden. The REST endpoints
return HTTP 403 with the existing errors array. Their corresponding GraphQL
mutations return an execution error before looking up a mapping or changing
any data.
Schedule ownership and games
Hudl is absent from every schedule, score, school, team, and roster priority
list. A new Hudl contest is schedule_only, with no Hudl score source.
Any listed source can replace Hudl’s schedule; Hudl cannot replace a listed
source. Among unlisted partners (Hudl, Fan365, Mascot Media), the first arrival
keeps the schedule. Each owner can continue updating its own schedule.
Publishing a new Hudl-owned contest creates a primary schedule_only game,
with source hudl and no score source. This exception applies only to new
games whose contest’s current schedule source is Hudl. It does not create a
game when Fan365 or another source owns the contest, and does not change
existing games’ priority rules. Hudl updates cannot write game scores.
White-label source filters are unchanged: a Hudl-only contest remains hidden from clients whose allowlists exclude Hudl, even when it has a game. A site must explicitly choose a separate filter change to display Hudl-only contests.
Daktronics scoring workflow
An authenticated Daktronics Connection can assign the resulting game to a
scoring device with
PUT /data-hub/v1/scoring-devices/:uuid/games/:game_uuid.
Hudl itself cannot manage scoring devices.
An authenticated Daktronics Connection can post events once the contest has a primary game. The shared event authorization explicitly permits Daktronics without requiring its own contest source or a winning state-specific score priority, including in California. Other connections still need a contest source that wins score priority; Hudl does not receive this exemption.
Daktronics can also sync the contest with its connect_id. That establishes
its contest source and applies the existing schedule import policy; in states
where Daktronics is listed for schedules, it takes over Hudl’s schedule.
Event authorization is separate from those schedule import rules. This Hudl
integration does not change any priority lists.
Other existing limitations:
- Schedule-only updates skip contest status, so Hudl cancellations and postponements do not apply.
- Hudl-created games appear in SBLive/Daktronics feeds that include contests with games.
Staging provisioning
Deploy the integration before provisioning the partner. Do not run the broad seed file against a live environment; an authorized operator can ensure just the Hudl Connection in a staging Rails console:
connection = Connection.find_or_initialize_by(legacy_source: :hudl)
connection.update!(key: 'hudl', name: 'Hudl')
Create an enabled ApiGatewayCredential linked to this Connection in staging
ActiveAdmin (Connect -> Api Gateway Credentials) or a Rails process
actually running in staging. Existing credential hooks create the AWS key,
attach it to the environment’s usage plan, and refresh the app’s key cache.
The derived AWS name is HUDL_STAGING; the current staging plan is cuijr8
in us-west-1, configured by ApiGateway::KeyManager.
Confirm the credential has an api_gateway_key_id and a usable key before
handing it to Hudl through an approved secure channel. Never commit a key.
Development/test processes do not provision AWS keys. See
data-hub-api-key-setup.md in Connect-Api for the credential setup and
troubleshooting procedure; select Hudl rather than Daktronics.
Verify staging reads, schedule sync, forbidden school/team/roster writes, and the Daktronics scoring workflow before separately provisioning production.