Skip to content

docs: unify Hub, DVP, and Registry API references - #26048

Draft
dvdksn wants to merge 13 commits into
docker:mainfrom
dvdksn:codex/api-reference-implementation
Draft

docs: unify Hub, DVP, and Registry API references#26048
dvdksn wants to merge 13 commits into
docker:mainfrom
dvdksn:codex/api-reference-implementation

Conversation

@dvdksn

@dvdksn dvdksn commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

@netlify /reference/api/

Preview the API reference

Adds a shared API reference experience for Hub, DVP, and Registry: a catalog, operation navigation, linked schemas, request and response examples, and matching HTML and Markdown output. A validation and generation pipeline prepares the reference data for Hugo and runs as part of Docker and Netlify builds.

Migrates the three specifications to OpenAPI 3.2, correcting response shapes, nullable fields, and authentication and token examples. The Hub migration also corrects SCIM contracts and CSV exports; DVP gains complete report response schemas and examples. Registry keeps its documented Hub-specific subset, with authentication and media negotiation expressed through OpenAPI security and content fields.

Validation is strict for both checks and generation, with no exception baseline or bypass flag. The build uses the migrated sources directly, without migration scripts or records.

Page and specification URLs remain stable, including the DVP alias. Operation and schema anchors change. Engine and Governance retain their existing references.

Validated locally with Go tests, strict validation of all three specifications (zero diagnostics), scoped formatting and lint, and a full Hugo build checking all 176 HTML/Markdown page pairs, example parity, reference links, and byte-identical published specifications. A browser check confirmed raw CSV rendering and the generated request header. No live API requests were made.

@netlify

netlify Bot commented Sep 9, 2026

Copy link
Copy Markdown

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 390c5a0
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6aa166b38f5e02000885a415
😎 Deploy Preview https://deploy-preview-26048--docsdocker.netlify.app/reference/api/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added area/api Relates to Docker API docs area/release Relates to CI or deployment hugo Updates related to hugo area/config area/tests labels Sep 9, 2026
@dvdksn dvdksn added the status/review Pull requests that are ready for review label Sep 9, 2026
@dvdksn
dvdksn requested a review from a team September 9, 2026 11:44
@github-actions github-actions Bot added the dependencies Vendoring, packaging updates label Sep 9, 2026
Example lookup skipped annotations on intermediate schema references, incorrectly reporting valid examples as missing. Follow each reference in sequence and retain the external resource base, with regression coverage for annotation precedence, false and zero values, and cycles.
The API migration baseline mixed missing descriptions and examples with unresolved response contracts. Complete parameter descriptions, quote 2FA codes, and add examples based on documented fields without changing API constraints. Remove 121 resolved entries and group the remaining 168 by the evidence needed before merge.
Correct object and null handling, distinguish month/week alternatives, and complete metadata definitions and response examples. Remove the remaining DVP validation exceptions and add regression coverage. Keep the tooling README focused on build commands, validation, and maintenance.
@dvdksn
dvdksn force-pushed the codex/api-reference-implementation branch from fd1ce31 to 51033c3 Compare September 9, 2026 13:38
Correct Hub response shapes, nullable fields, token examples, and SCIM contracts. Keep Registry scoped to its documented endpoints while expressing authentication and media negotiation through OpenAPI fields.

Remove the validation exception baseline, render text examples without JSON escaping, and verify corrected contracts and HTML/Markdown example parity.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/api Relates to Docker API docs area/config area/release Relates to CI or deployment area/tests dependencies Vendoring, packaging updates hugo Updates related to hugo status/review Pull requests that are ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant