Skip to content

Phase 1: Workers route + manifest + HTML index at data.nemar.org #495

Closed

Description

@neuromechanist

Part of epic #449.

Scope

  • New Workers route on data.nemar.org: GET /data/:datasetId/:version/*path
  • :version accepts latest or vX.Y.Z
  • Manifest lookup against existing S3 version/vX.Y.Z.json
  • 302 redirect to S3 (presigned or stable CDN URL — see Phase 1 plan for caching strategy)
  • Manifest JSON endpoint: GET /data/:datasetId/:version/manifest.json with sizes, SHA-256s, URLs
  • Basic Apache-style HTML index at directory paths (functional, no theme branding)
  • Public datasets only — private/unpublished return 404
  • Cloudflare DNS: CNAME data.nemar.org to Workers route
  • Anonymous read for the manifest read path (wired in this phase, not deferred to the public-access epic in .context/public_access_and_identity.md)

Out of scope (later phases)

  • metadata.json sibling endpoint (Phase 2)
  • Versioned access UX polish + tombstones for removed files (Phase 3)
  • rclone-compatible listings (Phase 4)

Test plan

  • Unit: manifest path resolution (BIDS-shape -> object SHA), 404 for unpublished, 404 for files not in manifest
  • E2E against nm099999: publish, hit data.nemar.org/nm099999/latest/dataset_description.json, expect 302 -> 200, verify bytes match
  • Anonymous browser hits same URL, no token, expect same result

Activity

  1. added
    feature
    on May 14, 2026
  2. added a commit that references this issue on May 15, 2026
    9aa728c
  3. neuromechanist commented on May 15, 2026

    @neuromechanist
    ContributorAuthor

    Shipped in PR #502 (squash-merged on epic branch at 9aa728c). Closed when epic merged to dev in PR #507 (e101294).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions