docs: deprecate last_seen_at + wire_received_at; document odds_changed_at#256
Merged
Merged
Conversation
… document odds_changed_at Phase 1 of internalizing the two non-betting response timestamps (sharp-api-go issue #743). Customer-facing deprecation signal: - openapi.json (Odds schema): mark `last_seen_at`, `wire_received_at`, and the stale `timestamp` prop `deprecated: true`; ADD the canonical `odds_changed_at` prop (it was missing) as the freshness field to read. - Field tables (odds / odds-batch / odds-best / odds-comparison .mdx): mark the rows⚠️ Deprecated and redirect to `odds_changed_at`. Also fixes odds-best's mislabeled "best odds determination" description for last_seen_at. Fields still emit during the deprecation window — no contract break yet; removal is tracked in Mlaz-code/sharp-api-go#743. Type: docs 🤖 Generated with [Claude Code](https://claude.com/claude-code)
…eprecations) Satisfies the openapi-version-check policy: schema changed (added odds_changed_at, deprecated last_seen_at/wire_received_at/timestamp) → MINOR bump + CHANGELOG entry. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Collaborator
Author
|
Merge gate (auto-classified): gate=docs — auto-classified by the gate-log enforcer (14min after merge, no Posted by |
Mlaz-code
added a commit
that referenced
this pull request
Jun 2, 2026
…erse #256 (SHA-1048) (#257) BREAKING (OpenAPI 3.0.0): the Odds response exposes a single `timestamp` field; `odds_changed_at`, `last_seen_at`, and `wire_received_at` are removed. `timestamp` is the delivery / last-refreshed stamp (advances every ingest cycle — feed freshness, matching OpticOdds' `timestamp`), NOT a price-last-changed time; SharpAPI no longer exposes a when-the-price-moved field. Mirrors sharp-api-go #751. - openapi.json: Odds schema → single `timestamp` (delivery description); removed the 3 fields; info.version 2.3.0 → 3.0.0 + CHANGELOG entry. FutureOdds/Splits `timestamp`/`ts` untouched. - mdx × 4 langs (en/es/pt-BR/de): field tables collapsed to one `timestamp` row; examples updated; cross-links to the concept page kept (anchor text → `timestamp`); concepts/pinnacle-odds-changed-at repurposed to explain `timestamp` (slug kept) + _meta.js label; migration callout on odds.mdx. Removed the phantom `all_books[].timestamp` (the API's per-book entries carry no timestamp). - Residual `odds_changed_at`/`last_seen_at`/`wire_received_at` mentions are intentional (migration callouts + concept-page explanation only). Refs SHA-1048 Type: docs Co-authored-by: Codex <codex@sharpapi.local> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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 1 of internalizing
last_seen_at+wire_received_at(sharp-api-go #743) — the customer-facing deprecation signal. They map to nothing customers should read for freshness;odds_changed_atis the field (and the only per-odd timestamp OpticOdds exposes).last_seen_at/wire_received_at/ staletimestamp→deprecated: true; added the missingodds_changed_atprop as the canonical freshness field.odds_changed_at. Also corrects odds-best.mdx’s wrong "best odds determination" gloss.Fields keep emitting — no break yet. Removal tracked in
Mlaz-code/sharp-api-go#743.Type: docs
🤖 Generated with Claude Code