docs: TeamRef logo/city/mascot/conference/division (Phase 2c)#215
Draft
Mlaz-code wants to merge 2 commits into
Draft
docs: TeamRef logo/city/mascot/conference/division (Phase 2c)#215Mlaz-code wants to merge 2 commits into
Mlaz-code wants to merge 2 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
8831aac to
fdb6d2e
Compare
fdb6d2e to
9e02b66
Compare
Document the new optional `numerical_id` field on each reference endpoint (/sports, /leagues, /sportsbooks, /markets, /teams) plus the nested `home`, `away`, `sport_ref`, `league_ref`, `market_ref`, `sportsbook_ref` blocks emitted on every odds row and EV / arbitrage / middles opportunity leg. Adds /teams `abbreviation` field. New concept page `entity-reference-ids.mdx` covers the dense-from-1 / frozen / never-reused contract and migration guidance. Additive only — every flat string field remains in every response. Companion to api-adapters#489 (atlas backfill + Python adapter wire format) and sharp-api-go#345 (Go decode + reference endpoint surface). Both ship under the OpticOdds-parity Phase 1 work. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Companion to: - api-adapters PR #489 (refreshed) - Phase 1 atlas backfill - sharp-api-go PR #345 - Go decode + reference endpoints - sharp-api-go feat/team-metadata-phase-2c - extend TeamRef - sharpapi-python feat/team-metadata-phase-2c - pydantic types - sharpapi-ts feat/team-metadata-phase-2c - TypeScript types Documents the 5 new optional fields on the nested team object: logo, city, mascot, conference, division. All backfilled from OpticOdds via api-adapters PR #499. Coverage ~93% of teams; individual-sport competitors (tennis players, MMA fighters, golfers) remain unset by design. Files updated: - content/en/concepts/entity-reference-ids.mdx — TeamRef section + new per-field reference table - content/en/api-reference/odds.mdx — schema row + JSON sample - content/en/api-reference/opportunities-ev.mdx — schema row - content/en/api-reference/opportunities-arbitrage.mdx — schema row + JSON sample - content/en/api-reference/opportunities-middles.mdx — schema row + JSON sample - content/en/api-reference/teams.mdx — full schema table + 2 JSON samples + concept section next build clean. tsc --noEmit clean. New (May 2026) markers added consistently for visual diff with existing fields. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
9e02b66 to
42f275c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase 2c docs. Stacks on PR #214 (Phase 1g). Documents the 5 new optional team metadata fields across odds, ev, arbitrage, middles, teams reference, and entity-reference-ids concept page.
🤖 Generated with Claude Code