myst/web/app/routers
ZTatman 82d50bff59 feat(links): add repository commit listing endpoint
Expose GET /links/repositories/{repo}/commits, resolving {owner}
server-side from the session's linked Forgejo identity like the sibling
branches route.

Take the ref as a query parameter instead of a path segment: branch names
contain slashes (docs/readme, feature/learn-public-links), which a single
path param cannot capture without a path converter. As a query param,
`ref` may also default to main.

Dropping the path default and declaring `repo` were both required for the
module to import: FastAPI asserts that path parameters have no defaults,
and an undeclared path param raised NameError at call time.
2026-10-05 15:45:26 -04:00
..
__init__.py Add FastAPI web service with async SQLAlchemy and Docker (#10) 2026-04-24 16:03:54 -04:00
auth.py refactor(web): rename config module to settings, add shared Forgejo API client 2026-10-01 16:51:00 -04:00
links.py feat(links): add repository commit listing endpoint 2026-10-05 15:45:26 -04:00
settings.py refactor(web): rename config module to settings, add shared Forgejo API client 2026-10-01 16:51:00 -04:00
setup.py refactor(web): rename config module to settings, add shared Forgejo API client 2026-10-01 16:51:00 -04:00