Repo Image Proxy

G7.32 — proxy a repo-relative image through the project's GitHub PAT.

Used by markdown preview to render images that live in the connected repo (e.g. ![](docs/screenshots/foo.png)) without exposing the PAT to the browser. Returns the raw bytes with the upstream Content-Type.

Limits:

  • Hosted-only (PAT lives on the tenant).
  • Path is normalized to disallow ..; absolute URLs are rejected.
  • Falls back to 404 when the project isn't connected to a repo.
  • 1 MB response cap (oversized images are 413).
get/projects/{project_id}/repo-image

Request

  • Base URL: https://usemeridian.us (the document declares no server; this is the origin it was published from)
  • URL: https://usemeridian.us/projects/{project_id}/repo-image
  • Auth: none declared

Path parameters

project_idstring required

Query parameters

pathstring

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.