MakeReady

API

Base: https://<portal>/. JSON in and out. Errors: { "error": "…" } with 401/403/404/409/422/429; zod validation errors return 422 with issues.

OpenAPI: the machine-readable description of every route lives at /api/v1/openapi.json (OpenAPI 3.1; paste it into Swagger UI, Redoc, Postman or a code generator).

Authentication

FormFor whomHow
Session cookie mkr_sessionweb portalPOST /api/v1/auth/login
Bearer device tokentabletsPOST /api/v1/auth/device/login
Bearer API key mkr_…club portals, integrationscreated by a club admin, with scopes

Only the SHA-256 hash of tokens and keys is stored.

Accounts

MethodPathDescription
POST/api/v1/auth/registercreate account (email, password ≥ 10, firstName, lastName)
POST/api/v1/auth/login / /logoutweb session
POST/api/v1/auth/device/logintablet: { email, password, device: { deviceId, name, platform, appVersion } } → { token, expiresAt, user, memberships }
GET/api/v1/auth/meprofile + club roles
PATCH/api/v1/auth/meedit own name (firstName, lastName)
GET/api/v1/auth/me/divisionsthe division (and power factor) this account shoots per discipline: { divisions: [{ discipline, division, powerFactor, updatedAt }] }
PUT / DELETE/api/v1/auth/me/divisions/:disciplineset ({ division, powerFactor }, checked against the discipline rules) or forget it
POST/api/v1/auth/me/password{ currentPassword, newPassword }; revokes all other sessions and device tokens
POST/api/v1/auth/verify/resend{ email, turnstile? }; always OK; sends the verification mail again for an unverified account (for a sign-in refused while verification is required), rate limited like a sign-in
POST/api/v1/auth/password/forgot{ email, turnstile? }; always OK. With e-mail configured (Settings → E-mail, Microsoft 365) a reset link is mailed; otherwise the MakeReady admin can hand out a link (POST /admin/users/:id/reset-link)
POST/api/v1/auth/password/reset{ token, password }; sets the password, revokes every session and device token, marks the address verified
POST/api/v1/auth/verify/sendsigned in: (re)sends the verification mail (48 h link); 503 without e-mail configured
POST/api/v1/auth/verify{ token }: confirms the e-mail address
POST/api/v1/auth/me/deletion-requestsigned in: { scope: account|account_and_results, message? } asks for the deletion of the own account (verified at once)
GET/POST/delete-accountpublic form to request the deletion of an account or personal data (HTML; at most 10 requests per IP in 15 minutes); a request for an existing account that is not signed in gets a confirmation link by e-mail (/delete-account/confirm?token=, 48 h)
—rate limitingsign-in (web, tablet) and forgot-password: at most 10 failures per e-mail address and per client IP in 15 minutes → 429
GET/api/v1/auth/me/resultsmatches in which this account is linked as a competitor
GET/api/v1/auth/me/analytics?discipline=&kind=&period=&population=&versus=the account's own results over time as a finished report (see Analytics)

Clubs (any signed-in user may create a club and becomes its admin)

MethodPath
GET/POST/api/v1/clubs — create with slug, name, country?, website?; the slug (short name) is stored in lower case with dashes, so capitals, spaces and accents are converted instead of refused (My Club becomes my-club)
GET/api/v1/clubs/:id (id or slug) — includes the caller's role
PATCH/api/v1/clubs/:id — club admin: name, slug, country, website
GET/api/v1/clubs/:id/analytics?discipline=&kind=&period= — club members: the club's report over its public and club events (see Analytics)
GET/PUT/api/v1/clubs/:id/members — { email, role: admin|staff|member }
DELETE/api/v1/clubs/:id/members/:userId
GET/POST/DELETE/api/v1/clubs/:id/api-keys — scopes registrations:write, registrations:read, results:read, matches:read, matches:write, *
GET/POST/api/v1/clubs/:id/integrations — webhooks (url, events[]) → secret shown once
PATCH/api/v1/clubs/:id/integrations/:integrationId — change name, url, events[] or enabled of a webhook; the secret stays (club admins; audited)

Matches

MethodPathPermissions
GET/api/v1/matches?clubId=&kind=match|trainingvisibility — events of both kinds unless kind filters. Visibility: public = everyone; club = club members and the competitors registered with their account; private = staff, admins and those competitors
POST/api/v1/matchesany signed-in user — id? (UUID chosen by the creator, e.g. a tablet that created the event offline; 409 if taken), clubId? (omit for a club-less match), name, discipline (ipsc_handgun|fds|lvr|multigun), kind (match|training, default match), startDate, endDate, visibility, externalId?, scoring?, divisions?, categories?; a club match requires club admin
GET/PATCH/api/v1/matches/:idPATCH (match admin or owner): name, kind, visibility, status (draft|registration|live|finished|archived), startDate, endDate, divisions[], categories[], dnfTimeSeconds? (fixed DNF time of a time-plus match, null = fall back to par/slowest time + misses; the rest of the scoring profile comes from the central rules), competitionId? (yearly competition; matches only, same discipline and year, null unlinks). Archived events are listed for their owner, the club's admins and MakeReady admins only
DELETE/api/v1/matches/:idmatch admin — moves the event to the trash with everything in it; it disappears from every list, sync and the API. Restorable for 365 days, then the cron removes it
GET/api/v1/matches/deletedsigned in — the trash: deleted events of the last year (MakeReady admins: all; club admins: their clubs'; everyone: their own) with deletedAt, purgeAt, competitors, scores
POST/api/v1/matches/:id/restoreowner, club admin or MakeReady admin — takes a deleted event out of the trash
DELETE/api/v1/matches/:id/purgeMakeReady admin — removes an event that is in the trash for good, with its stages, squads, competitors and scores, without waiting for the purge; audited as match.purge
POST/api/v1/matches/import/psc?discipline=ipsc_handgun|fds|lvr&clubId=&visibility=&competitionId=&newClub=any signed-in user (club admin for a club match; MakeReady admins for any club, and newClub=<name> creates the club on the spot without members) — the .psc file of the PractiScore apps, the results page of practiscore.com saved as HTML, or a JSON file with its matchDef and scores objects, as the raw request body; creates a finished match with its stages, squads, competitors and one approved score per competitor and stage (hit-factor matches only). Returns { id, name, stages, squads, competitors, scores }

Competitions

MethodPathPermissions
GET/api/v1/feedback?kind=feature|issue&status=everyone — the feedback board (website → Feedback): { items: [{ id, kind, title, body, status (open|planned|in_progress|done|declined), author, authorId, createdAt, updatedAt, votes, comments, voted }], statuses }, most voted first
POST/api/v1/feedbacksigned in — { kind, title (5–120), body (10–4000) }; at most 10 new items per account per day (429)
GET/api/v1/feedback/:ideveryone — { item, comments: [{ id, author, authorId, admin, body, createdAt }] } (admin: a MakeReady admin's answer)
PATCH / DELETE/api/v1/feedback/:idstatus (MakeReady admin), title/body (the author while the item is open); delete by the author while nobody commented, or a MakeReady admin
POST/api/v1/feedback/:id/votesigned in — toggles the vote; { voted, votes }
POST/api/v1/feedback/:id/commentssigned in — { body (2–2000) }; returns the comments
GET/api/v1/competitions/calendar?year=everyone — the calendar (website → Calendar): every match linked to a competition set up by MakeReady (a club's own competitions stay out), oldest first: { matches: [{ id, name, discipline, kind, startDate, endDate, status, visibility, clubName, competitionId, competitionName, competitionYear }], external }; external is the federation calendar (label, page URL, last read, events with name, dates, discipline, level, cancelled, links) when it is switched on, else null
GET/api/v1/competitions{ competitions: [{ id, name, discipline, year, rules: { minMatches: 'majority' | n, countBest: null | n | 'required', format?: 'series' | 'combined', stages?: 'same' | 'separate' }, clubId?, clubName?, visibility: 'public' | 'club', matchCount, canManage }] }. Everyone gets the public ones; a club's internal competition (visibility: 'club') is listed for the members of that club only
POST / PATCH / DELETE/api/v1/competitions[/:id]name, discipline, year, rules, and on creation clubId with visibility. Without a club: MakeReady admin, always public. With clubId: the admins of that club (the club does not change afterwards). Deleting unlinks the events
GET/api/v1/competitions/:idthe competition and its events (not archived), with canManage; 404 for an internal competition of a club you are no member of
GET/api/v1/competitions/:id/eventsadmins of the club — the club's trainings and matches of the competition's discipline and year (also those from the club portal), each with the competition it is in now and the numbers of its stages (stageNumbers)
PUT / DELETE/api/v1/competitions/:id/events/:matchIdadmins of the club — put an event of the club in its competition, or take it out. The same is done with competitionId on PATCH /matches/:id: a competition of MakeReady takes matches only, a club's competition the trainings and matches of that club; same discipline and year in both cases
GET/api/v1/competitions/:id/export.pscthose who manage the competition — a combined competition as one .psc file: all its events together as a single match (hit-factor disciplines), the events as squads; see docs/psc-export.md
GET/api/v1/competitions/:id/ranking?division=as the competition itself. format: 'combined': the events ranked as one match: { scoring: { method, ranking }, matches (the events), stages: [{ id, number, name, source: { matchId, number } }], rows: [{ rank, key, name, division, club, sessions: matchId[], total, percent, stagesScored, disqualified, stages: { [stageId]: stage line } }], warnings[] } (see docs/scoring.md). format: 'series' — live ranking: per match the percentage every competitor reached (overall or within the division), summed per the rules; rows[] with results per match, played, counted, total, eligible (shot at least half of the matches plus one, or the fixed number) and rank; competitors are matched across matches by name (case, accents, punctuation and spaces ignored) and ranked in the division of their first match of the competition; other wordings of a division are resolved through the admin's division names
POST/api/v1/matches/:id/claimstaff/admin of clubId — a club claims a club-less match
GET/api/v1/matches/:id/stages · PUT /stages/:stageIdstage upsert (number, name, targets[], parTimeSeconds?, dnfTimeSeconds?, briefing?, active); the stage type always follows the match scoring method (Comstock or time plus). A target is { id, kind, requiredHits, label?, seconds?, missSeconds? } (seconds and missSeconds may have decimals, e.g. 2.5): kinds paper, disappearing and bonus are scored by zone, popper and plate are hit or miss. Time-based disciplines have four more kinds, each with label as its name: time_bonus (a bonus: seconds taken off the time every time it is awarded), bonus_target (to be hit requiredHits times: seconds off per hit, missSeconds added per missing hit), objective (seconds added when it is not met) and procedural (a procedural error of this stage alone: seconds added every time it is given). A time-based stage does not need a target of the first kinds: these four alone are a stage. In a score the hit of such a target is 1 for a met objective, the number of times a bonus was awarded (at most 10), the number of hits on a bonus target, and the number of times a stage procedural was given. On a discipline with a time limit per stage (brutality) parTimeSeconds is that limit and is required. Once a competitor has a score on the stage, only active can change: anything else is refused with 409
POST/api/v1/matches/:id/stages/copymatch admin — body { fromMatchId }: takes over the stages of another event of the same discipline that the caller can open. Only the stages whose number this event does not have yet are added (new ids; name, targets, times, briefing and active flag as they are); nothing is overwritten. Returns { copied: [{ id, number, name }], skipped: [{ number, reason: 'exists' | 'drill' }] } (a drill is only taken over by a training)
PUT/api/v1/matches/:id/squads/:squadIdmatch admin: { name, startsAt?, endsAt? } (the end must be after the start; dashboards count down to it); on a club-portal squad the changed name, start or end is kept on later syncs
GET/PUT/api/v1/matches/:id/competitors[/:competitorId]competitor upsert; number is optional: left out, an existing competitor keeps the number it has and a new one gets the next free number, so send it only to change it (a number sent along from an older copy would undo a redeal of the shooting order); noShow (optional boolean) marks a registered competitor who did not turn up: out of the shooting order and, without a score, out of the standings. Staff (ROs) may change the number and noShow only (an unchanged chrono sent along is accepted). Saving stores the division as the linked account's division for the discipline
POST/api/v1/matches/:id/scoring-startedstaff — a tablet opened the scoring screen: a draft or an event open for registration goes live ({ status, changed }); finished and archived events stay as they are
GET/api/v1/matches/:id/attachmentseveryone who may view the event — its documents: { attachments: [{ id, name, contentType, size, sha256, externalId?, updatedAt }] }; the same list is part of the bundle the app syncs
GET/api/v1/matches/:id/attachments/:attachmentIdthe content of a document (a download; ?inline=1 shows a PDF or image in the browser)
PUT / DELETE/api/v1/matches/:id/attachments/:attachmentIdmatch admin — add or replace (:attachmentId = a UUID chosen by the uploader; body = the file with ?name=, or JSON { name, data } in base64) or remove a document; type, size and count are limited (Settings)
GET/api/v1/matches/:id/resultsstandings per division + overall
DELETE/api/v1/matches/:iddelete a match or training with its stages, squads, competitors, scores and bracket (match admin; the web portal asks to type the name, the tablet confirms)
PATCH/api/v1/matches/:idname, kind, status, visibility, dates, divisions, categories; clubId (null releases the event, a club id claims or transfers it to a club you are staff of; visibility "club" falls back to "private" without a club); discipline (only while no approved score or decided bout exists: the scoring profile, divisions and categories are re-applied from the new discipline's central rules, stage types follow, a shootoff bracket is removed)
GET/api/v1/matches/:id/competitors/suggest?q=autocomplete for the competitor form: names this club (or, for a club-less event, this organiser) registered before, with club, division, power factor, categories and linked account; never another club's entries (staff)
GET/api/v1/matches/:id/log?limit=change log (staff): { createdBy, entries: [{ at, actor, action, text, device? }] }, newest first: settings, stages, squads, competitors, account links, bracket and club-portal changes plus every score revision (who, when, which tablet); at most 1000 entries
GET/api/v1/matches/:id/members/suggest?q=autocomplete for the "MakeReady account email" field: active accounts whose e-mail address or name starts with the query (at least 3 characters, at most 8 results) (match admins)
GET/api/v1/matches/:id/competitors/:cid/accountthe account a competitor is linked to, or null (match admins)
PUT/api/v1/matches/:id/competitors/:cid/account{ userEmail } links the competitor to that account, { userEmail: null } removes the link; allowed in every match status, also after the match finished and for club-portal registrations (match admins; audited)
GET/api/v1/clubs/:id/roster?q=the club's competitor directory (staff)
GET/api/v1/admin/users?q=MakeReady admin: all users with their club memberships (platform admin only)
PATCH/api/v1/admin/users/:idMakeReady admin: platformAdmin, active (deactivating revokes sessions), name
POST/api/v1/admin/users/:id/passwordMakeReady admin: set a new password (sessions revoked)
POST/api/v1/admin/users/:id/impersonateMakeReady admin, from their own website session: a one-hour web session as that user (cookie), the admin's own session kept in a second cookie; audited admin.user.impersonate
POST/api/v1/auth/impersonate/stopEnds an impersonation session and returns to the admin's own session when it is still alive (restored)
POST/api/v1/admin/users/:id/verify-linkMakeReady admin, for an account that has not confirmed its e-mail address: mails a fresh verification link when a mail provider is configured (mailed: true), otherwise returns the link to pass on by hand; verified: true when nothing was needed
POST/api/v1/admin/users/:id/reset-linkMakeReady admin: a password reset link valid for two hours, to pass on to the user when no e-mail is configured
PUT/DELETE/api/v1/admin/users/:id/memberships/:clubIdMakeReady admin: set a role in any club / remove the membership
GET/api/v1/admin/deletion-requests?status=MakeReady admin: deletion requests with the matching account
PATCH/api/v1/admin/deletion-requests/:idMakeReady admin: { status: open|done|rejected, note? }
POST/api/v1/contactPublic: the website's contact form (name, email, subject, message, turnstile when Turnstile is on); one mail to the contact address (Settings → Platform) with the sender as reply-to; 5 messages per address and per IP per hour; 503 when no mail provider is configured
POST/api/v1/admin/calendar/refreshMakeReady admin: reads the federation calendar page (Settings → Platform) again right now; { refreshed, count }, 503 with the stored matches kept when the page cannot be read
POST/api/v1/admin/settings/test-mailMakeReady admin: sends a test mail to the admin's own address with the configured provider; 422 with the provider's message when it fails
GET / PUT/api/v1/admin/settingsMakeReady admin: the global settings (website → Settings) — GET { settings: [{ key, group, label, type (text|number|boolean|secret), description, value (secrets: ''), set (secrets), default, stored, readOnly, min, max }] }; PUT { key: value | null } stores values (null or '' = back to the default; 422 on an invalid or read-only key) and returns the list. Keys: mail.m365_tenant_id, mail.m365_client_id, mail.m365_client_secret, mail.m365_sender, mail.from (Resend fallback), mail.verification_required, mail.verification_hours, mail.reset_hours, auth.registration_open, auth.session_days, auth.device_token_days, auth.login_failures, auth.login_window_minutes, turnstile.site_key, turnstile.secret, platform.privacy_contact, events.trash_days, feedback.daily_limit
GET / PUT / DELETE/api/v1/admin/division-aliases[/:id]?discipline=MakeReady admin: division names — other wordings of a division (alias, compared without case against a match's division code and name) mapped to the discipline's own code; PUT { discipline, alias, code } upserts. Used by the competition ranking and the PractiScore import
DELETE/api/v1/admin/users/:idMakeReady admin: delete a deactivated account for good (?anonymiseRegistrations=1 also removes the name from its registrations). The account is erased as below; the record itself is removed unless it created events or API keys or last edited discipline rules, in which case an anonymous "Deleted user" record stays for those. Returns { deleted, keptFor, registrations }; erased accounts no longer appear in the user list. Not for yourself or configured admins
POST/api/v1/admin/users/:id/eraseMakeReady admin: erase an account, irreversible ({ anonymiseRegistrations, requestId? }): name, e-mail and password emptied, account deactivated, sign-ins, tokens and memberships deleted, registrations unlinked (or anonymised); not for yourself or configured admins
GET/api/v1/matches/:id/bracketshootoff: the bracket with all results plus the resolved view (named sides, status, placements)
GET/api/v1/matches/:id/bracket/seedingshootoff: the order of the entrants (staff): `{ seeding: { mode: 'manual''competition', competitionId?, division? }, competition, divisions[], entrants: [{ id, number, name, division, place }], inOrder, started }; place` is the place in the competition's ranking
PUT/api/v1/matches/:id/bracket/seedingshootoff: set the order (staff); body { mode, competitionId?, division?, order? }. Mode competition puts the competitor numbers in the order of the competition's ranking (overall, or division), now and again whenever the bracket is generated; mode manual with order (every competitor id, best first) renumbers 1, 2, 3, … in that order
POST/api/v1/matches/:id/bracket/startshootoff: generate the bracket once (staff); body `{ lives: 123, bestOf: 135, finalBestOf: 135, pairing?: 'ends''halves', firstRoundSecondChance?: boolean }, defaults 2/1/1, ends (1 against the last; halves` = 1 against the first of the second half), no second chance (single elimination only)
POST/api/v1/matches/:id/bracket/resultsshootoff: bout decisions `{ results: [{ boutId, winnerIdnull, heats?: competitorId[], decidedAt, deviceId }] }`; best-of bouts send the heat winners in order; latest per bout wins, each validated (staff; tablets and the portal)
POST/api/v1/matches/:id/bracket/restartshootoff: regenerate the bracket from the current competitors with a new format (same body as start; defaults to the current format), discarding all decisions (admin; the UIs confirm first)
DELETE/api/v1/matches/:id/bracketshootoff: remove the bracket while no bout is decided (admin)
GET/api/v1/matches/:id/resultsstandings results (ALL + per division) and categories (per category code, overall population)
GET/api/v1/matches/:id/results/detail?division=&category=standings with the result per stage (time, hits, penalties with the procedural reasons, hit factor, stage points, rank, revision, competitor approval, shot times) plus teams (best three per team name within the selected ranking); feeds the detail view, the stage results and the side-by-side comparison
GET/api/v1/matches/:id/export.pscstaff: the whole hit-factor event as a .psc file (ZIP with match_def.json and match_scores.json, the format of the PractiScore apps; docs/psc-export.md); 422 for time-plus events
GET/api/v1/matches/:id/results.csv?division=&category=the same standings as CSV (semicolon separated, UTF-8 with BOM): one line per competitor with a column group per stage, team standings below
GET/api/v1/matches/:id/bundleeverything for tablets/dashboards
POST/api/v1/matches/:id/live/refreshstaff: recalculate live standings

Discipline rules (central, versioned)

MethodPathRights
GET/api/v1/rulesany signed-in user — all disciplines + versions map (tablets compare this with their local copy)
GET/api/v1/rules/:disciplineany signed-in user
PUT/api/v1/rules/:disciplineMakeReady admin — name?, scoring? (incl. dnfTimeSeconds for time plus), divisions?, categories?, notes?; increments version
POST/api/v1/matches/:id/rules/reapplymatch admin — copies the current rules into a match without approved scores

Sync (tablets, staff)

MethodPath
GET/api/v1/sync/matches — events this user may score or manage (all statuses except archived, drafts included)
GET/api/v1/sync/matches/:id?since= — bundle/incremental
POST/api/v1/sync/push — { deviceId, matchId, scores[] } → { accepted[], ignored[], serverTime }

Integrations (API key)

MethodPathScope
GET/api/v1/integrations/matchesmatches:read — all events of the club
POST/api/v1/integrations/matchesmatches:write — create an event for the club: name, discipline, kind (default training), startDate, endDate?, visibility (default club), externalId, createdByName? (who created it in the club portal, shown as "created by"; N/A when left out); idempotent on externalId (returns the existing event with created: false)
GET/api/v1/integrations/matches/:refmatches:read — one event
PATCH/api/v1/integrations/matches/:refmatches:write — name, startDate, endDate, visibility, status, externalId, createdByName
PUT/api/v1/integrations/matches/:ref/registrationsregistrations:write — :ref = MakeReady id or externalId
GET/api/v1/integrations/matches/:ref/registrationsregistrations:read
GET/api/v1/integrations/matches/:ref/attachmentsmatches:read — the documents of the event
PUT / DELETE/api/v1/integrations/matches/:ref/attachments/:documentIdmatches:write — add, replace or remove a document, addressed by the club portal's id for it; body = the file with ?name= (or x-filename), or JSON { name, data } (base64); see docs/club-portal-integration.md
GET/api/v1/integrations/matches/:ref/resultsresults:read — results per competitor (the club portal's registration id, place overall and in the division, result per stage), compact standings and raw scores; the same content the match.results_published webhook sends when the event is set to finished

Details and the webhook format: docs/club-portal-integration.md.

Web portal

The web portal is the site's home page: a single-page app served at / (client script at /app.js, no build step) that uses the JSON API below with the session cookie. /matches/:id redirects into it and /app redirects to /. It offers: sign in and registration, the match list and "my results", a match wizard with stage editor (targets, par/DNF time, briefing), squads and competitors, results per division with a detail per stage for every competitor and a side-by-side comparison of two competitors, score corrections (new revisions via the sync API; a corrected score carries a coloured "Corrected · rev n" pill in the results and scores tabs), club management (members and roles, API keys, webhooks) and, for the MakeReady admin, clubs and the discipline rules editor.

MethodPathRights
GET/api/v1/matches/:id/rolevisibility — the caller's role on the match (platform, owner, admin, staff, member, null)
GET/api/v1/matches/:id/squadsvisibility
DELETE/api/v1/matches/:id/stages/:stageIdmatch admin — only without scores
DELETE/api/v1/matches/:id/squads/:squadIdmatch admin — not when the club portal manages registrations
PATCH/api/v1/matches/:id/competitors/:competitorIdchanges only the fields in the body of an existing competitor (same fields and rules as the PUT; an empty club or team clears it); what is not sent stays as it is. The website and the app use it for every edit of an existing competitor, so an older copy never puts back a division, squad or category corrected elsewhere. A correction of a club-portal registration sends the registration.updated webhook
DELETE/api/v1/matches/:id/competitors/:competitorIdmatch admin — only without scores

Website and versions (no authentication)

MethodPath
GET/ — the web portal (SPA)
GET/faq — FAQ with public matches and version numbers
GET/privacy — privacy policy; /delete-account — deletion request form
GET/docs, /docs/:slug — documentation, generated from docs/*.md on every deploy
GET/api/v1/config — everyone: { turnstileSiteKey ('' when Turnstile is off), registrationOpen, verificationRequired, privacyContact }, what the website needs before sign-in
GET/api/v1/version — { portal, android: { version, versionCode }, ios: { version, buildNumber }, build }
GET/health

Public (no authentication, only visibility = public)

GET /api/public/matches/:id/results includes categories; GET /api/public/matches/:id/results.csv?division=&category= is the CSV export.

MethodPath
GET/api/public/matches?kind=match|training
GET/api/public/matches/:id/results (cache 5 s while live, 5 min when finished)
GET/scoreboard/:id?division=OPEN — HTML scoreboard for TV/kiosk
WS/live/matches/:id?role=board — live protocol (packages/shared/src/live.ts)
GET/live/matches/:id/board?division=&onRange= — what the scoreboard page shows: { match, divisions, stages, rows[] (rank, name, division, percent, per stage hitFactor / time / totalTime / percent / dnf / dq / strings), order (stage, squad, who still has to shoot), clock (squad with start and end), generatedAt }; onRange = stageId:competitorId,… of the competitors on the range
GET/live/matches/:id/state — latest snapshot (debug)

Matches with visibility club/private are reachable through the same paths for anyone who is logged in and has the permission.

Result format

{
  "match": { "id": "…", "name": "…", "discipline": "ipsc_handgun", "status": "live" },
  "results": {
    "ALL":  [{ "rank": 1, "competitorId": "…", "name": "Stijn Maes", "division": "OPEN", "club": "Example Club", "total": 25, "percent": 100, "stagesScored": 1, "disqualified": false }],
    "OPEN": [ … ]
  },
  "generatedAt": "2026-10-04T13:54:34.208Z"
}

total is match points (IPSC/LVR), percentage points (Multigun time_percentage) or total time in seconds (total_time).

An OpenAPI document (/api/v1/openapi) is on the roadmap; until then the zod schemas in packages/shared are the contract.