Repository navigation
docs: align the references with the retired v1 API and the shipped v2 contracts - #5104
Merged
Merged
Conversation
… contracts /api/v1 now answers a 410 tombstone (#3200), but many references still described the frozen bridge as live. Remove the present-tense v1 text, correct the v2 status codes and contracts that drifted from the handlers (downloads, playback v3, admin settings, diagnostics, realtime API keys, device headers, parity), document the series date_viewed rule, and state shipped behaviour where notes still called it pending. Consolidate references documented twice: merge the duplicated admin-api sections, move admin settings and catalog search status to their own references, keep push and marker contracts in one place each, and fold admin-system-api, scan-control-api, jellycompat-subtitles-api and notification-webhook-revisions into the documents they repeat. Index every API reference from docs/README.md, settle the Apple and Android follow-up list in update-to-1.0 against the clients, and drop migration-era bookkeeping and branch notes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
Contributor
This was referenced Nov 23, 2026
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.
Problem
Related issue: N/A
Validation tasks: none
Other clients: Apple N/A (no client-visible change); Android N/A (no client-visible change); Roku N/A (no client-visible change)
Many of the references in
docs/no longer match the server./api/v1has answered a410tombstone since #3200, but about 25 documents still describe the frozen v1 bridge as live, andauth-api.mddocuments two v1 password routes. Several v2 references drifted from their handlers, andadmin-api.mddocuments about nine endpoint groups twice, in sections that already disagree. This pass brings the docs back in line with the code. It changes no code.Approach
Accuracy fixes, each checked against the handler that implements it:
400 malformed_request, not422. Transcoding refused by policy is403, and an unsupported preset is501.422instead of400/426, and409 idempotency_conflictfor a reused attempt). The HLS AAC note now describes theaac_adtstoascrule that shipped in fix(playback): convert copied ADTS AAC for fMP4 HLS segments #3677.422 validation_failed. Diagnostics capabilities answer200 not_configuredwhen ingress is missing. Telemetry parity answers503when its service is absent.access_changedframe. Sign-in device IDs: the auth reference no longer contradicts itself.catalog-api.mddocuments the seriesdate_viewedrule from fix(catalog): sort TV series by when their episodes were last watched #5073.update-to-1.0.md: the Apple and Android follow-up table now records which items each client has done, checked against both clients'main.Consolidation:
admin-api.mdsection is now one section. The general admin settings writes moved toadmin-settings-api.md, and catalog search status moved toadmin-catalog-api.md.notifications-push-api.md(retitled to cover Apple, Android and web). The admin marker contract lives only inadmin-catalog-api.md.admin-system-api.md,scan-control-api.md,jellycompat-subtitles-api.mdandarchitecture/notification-webhook-revisions.mdare merged into the documents they repeated and deleted. Nothing in the repository linked to them exceptscan-api.md, which absorbedscan-control-api.md.docs/README.mdnow indexes every API reference by audience and links the schema READMEs.Wording: migration-inventory and ratification bookkeeping, "this PR"/"this branch"/"today" phrasing in shipped sections, and branch notes in the telemetry appendix are gone. Design notes keep their history but no longer present retired routes as current. "(v2)" qualifiers are gone from headings, and every inbound link to a renamed anchor is updated.
Validation
docs/: 0 broken (a script resolves each link against the tree and each anchor against the target's headings).METHOD /api/v2/...operation documented before the change is still documented afterwards.make verify-local-paths,make verify-case-collisions: pass.make lint-changed: no changed Go packages.Evidence
Nothing a user sees changes. Checked on commit 269324d, rebased on 321f79c:
Risks
Documentation only. Readers who bookmarked the four deleted files or the renamed "(v2)" anchors will land on the parent document or its top.
Checklist
AI Disclosure
docs/at b1d07ad for statements that disagree with the code, duplicates, and stale wording. Claude checked each finding against the source. It applied the confirmed ones (about 75) and dismissed the rest with a reason: placeholder examples and file moves that add churn. The final diff was checked by the link, anchor and operation-coverage scripts above and spot checks of the rewritten error tables against the handlers. No second independent review was run on the final diff.🤖 Generated with Claude Code
Note
Align API docs with retired v1 routes and shipped v2 contracts
If-None-Matchsettings reads never return304, retired/api/v1autoscan webhooks return410without token resolution, anddate_viewedsorting rules in catalog-api.md./api/v2routes and endpoints./api/v1URL must be updated manually.Macroscope summarized 269324d.