docs: document market_name field on live odds + streaming reference (#2468)#283
Merged
Conversation
Collaborator
|
Merge gate (auto-classified): gate=docs — auto-classified by the gate-log enforcer (11min after merge, no Posted by |
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.
Summary
Documents the new
market_namefield on live odds, shipped in sharp-api-goPR #1198 (crew #2468, consuming api-adapters #2080 / crew #2453).
market_nameis the raw sportsbook market descriptor, present only on theopaque catch-all market types (
game_prop/binary/player_prop) whosesingle canonical
market_typecollapses structurally-distinct markets (e.g. aballybet "Game Prop" covering both a match-winner and a yes/no, or the full
Polymarket question behind a
binaryrow).content/en/api-reference/odds.mdx) — new response-fieldrow, next to
market_segment.content/en/api-reference/stream.mdx) — added to thetwo static-field lists, because
market_nameis a static field carried inthe initial
snapshot(the fullOddsshape), not in the compactodds:updatedelta.Type: docs
Notes
English only. The
/detranslations already lag the English reference (e.g.market_segmentis not documented there yet either), so a German translation isa separate follow-up, consistent with the repo's en-first convention.
Gate