Skip to content

Document and cover file download endpoints#126

Open
huangse199 wants to merge 1 commit into
tscircuit:mainfrom
huangse199:cherrycashpilot/issue-5-download-endpoints
Open

Document and cover file download endpoints#126
huangse199 wants to merge 1 commit into
tscircuit:mainfrom
huangse199:cherrycashpilot/issue-5-download-endpoints

Conversation

@huangse199
Copy link
Copy Markdown

/claim #5

Summary

  • Document both browser-friendly download URL styles in the README and root API index.
  • Add coverage for downloading by file_id through /files/download.
  • Add coverage for nested path downloads through /files/download/{file_path}.

Validation

  • bun test tests/routes/files.test.ts
  • bun x tsc --noEmit
  • bun run format:check && git diff --check

Note: bun run build currently fails on Windows because winterspec/esbuild receives unescaped backslashes in generated route imports, for example C:\root\work\tscircuit-file-server-5\routes\files\upsert.ts.

Add focused coverage for both download URL styles and document the browser-friendly attachment endpoints so issue tscircuit#5 is verifiable.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant