Skip to content

docs(api): document the CDN bundle downloads and recommend them - #201

Merged
finalerock44 merged 1 commit into
mainfrom
docs/bundle-download-routes
Nov 24, 2026
Merged

finalerock44 merged 1 commit into
mainfrom
docs/bundle-download-routes

Conversation

@finalerock44

Copy link
Copy Markdown
Contributor

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.

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.
@finalerock44 finalerock44 self-assigned this Nov 24, 2026
@claude

claude Bot commented Nov 24, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

Note for the reviewer, per the CLAUDE.md writing-style rule to flag endpoints the rest of the docs don't use: this PR introduces GET /results/{uploadId}/artifacts-bundle, GET /results/{uploadId}/report-bundle, the CDN POST <bundleUrl> step (cdn.devicecloud.dev/bundle), the 9,000-file 413 limit and the 501 "can't deliver ZIPs through a CDN" response. Please confirm these match the live API.

🤖 Generated with Claude Code

@finalerock44
finalerock44 merged commit 182f5ef into main Nov 24, 2026
2 checks passed
@finalerock44
finalerock44 deleted the docs/bundle-download-routes branch November 24, 2026 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant