Repository navigation
docs(api): deprecate the inline ZIP downloads; document the CDN bundl… - #200
Open
finalerock44 wants to merge 3 commits into
Open
finalerock44 wants to merge 3 commits into
finalerock44 wants to merge 3 commits into
Conversation
…e flow GET /results/:uploadId/html-report and POST /results/:uploadId/download are deprecated, with removal targeted for 1 March 2027. Their responses carry Deprecation, Sunset and Link headers. Their replacement is now documented: get a signed manifest from artifacts-bundle or report-bundle, then POST it to bundleUrl for the ZIP. The OpenAPI spec gains both operations, a BundleManifest schema, the 413 and 501 answers, and the deprecation headers. CI-only keys reach the bundle manifests, as the access summary now says. The endpoints are listed on Deprecations & Removals.
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. Note for the reviewer, as CLAUDE.md asks: this PR names endpoints the rest of the docs don't use yet ( 🤖 Generated with Claude Code |
artifacts-bundle and report-bundle have been in production for months and are how the dcd CLI downloads, but the REST API docs only showed the inline ZIP endpoints. Adds "Download ZIPs through the CDN" to Results (manifest request, then POST to bundleUrl; filters, expiry, 404/413, the CDN's error statuses; curl + jq and Python examples), points the two inline downloads at it with a tip, and adds getArtifactsBundle and getReportBundle to the OpenAPI description, including the CI key scope.
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.
…e flow
GET /results/:uploadId/html-report and POST /results/:uploadId/download are deprecated, with removal targeted for 1 March 2027. Their responses carry Deprecation, Sunset and Link headers.
Their replacement is now documented: get a signed manifest from artifacts-bundle or report-bundle, then POST it to bundleUrl for the ZIP. The OpenAPI spec gains both operations, a BundleManifest schema, the 413 and 501 answers, and the deprecation headers. CI-only keys reach the bundle manifests, as the access summary now says. The endpoints are listed on Deprecations & Removals.