add raw File bytes streaming to API

⛔ closed · #298 · open-legal-products/mike ← tritium-legal/mike · opened 2mo ago by drewmiller · closed 2mo ago · +47 across 2 files · ↗ on GitHub

From the PR description

Summary

This adds raw File access to the backend API for serving raw bytes to the frontend without pre-rendering.

Why / Motivation

This is in connection with enabling online file editing.

Changes

Tradeoffs & risks

There shouldn't be any tradeoffs.

How verified

We're building an integration which leverages the new API endpoints.

Checklist

  • Ran the relevant build/test command for the area changed.
  • Reviewed git diff and removed unrelated changes.
  • [N/A] Updated docs / env examples if setup, config, or behavior changed.
  • No secrets, API keys, real documents, or .env files committed.

Our analysis

Stream raw file bytes through the backend API — read the full analysis →

Think the analysis missed something the PR description covers?

Commits in this PR (1)

SHA Subject Author Date
a0dcc4e0 add raw File bytes streaming to API Drew Miller 2026-08-07 ↗ GitHub

Capture this PR into my fork

Download a Markdown prompt that tells Claude how to port every commit in this PR into your working tree. Run it via claude -p < capture-pull-298.md from inside the repo you want the changes in.

⬇ Download capture-pull-298.md