Skip to content

Add bulk metadata exports: listing endpoint, DRS objects, downloads page - #278

Open
nsheff wants to merge 25 commits into
compliance-testsfrom
feat/metadata-export
Open

Add bulk metadata exports: listing endpoint, DRS objects, downloads page#278
nsheff wants to merge 25 commits into
compliance-testsfrom
feat/metadata-export

Conversation

@nsheff

@nsheff nsheff commented Aug 3, 2026

Copy link
Copy Markdown
Member

Makes the new bulk metadata exports discoverable through the BEDbase API and UI.

  • GET /v1/bed/exports — lists the published export files, newest first, with direct download URLs.
  • DRS objects for each export file (GET /v1/objects/exports and /exports/{id}), so they're reachable through the standard GA4GH data-access API too.
  • Downloads page in the web UI (nav link → /downloads) listing each snapshot's files with sizes, checksums, and a copy-paste DuckDB query.
  • Export URLs point at the storage CDN (data2.bedbase.org) directly, which is what DuckDB needs.
  • Requires bbconf >= 0.14.13 (for the export models).

Note: depends on the bbconf 0.14.13 release being published first.

khoroshevskyi and others added 25 commits April 20, 2026 23:39
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
SQLAlchemy queries plus numpy work, which would otherwise stall the event
loop (and every other request) for the full duration. FastAPI dispatches
plain def handlers to a thread pool instead.
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.

2 participants