vikunja/pkg/routes/api
kolaente fbfea43f2b feat(api/v2): expose notifications atom feed in the OpenAPI spec
Adds GET /api/v2/notifications.atom as a Huma operation producing
application/atom+xml, so the feed shows in the v2 OpenAPI spec with an
opaque XML body schema. It mirrors /feeds/notifications.atom on the wire.

Feed readers can't carry a bearer header, so the op declares an HTTP
Basic security scheme (BasicAuth) and authenticates inside the handler:
it parses the Authorization: Basic header and validates the API token
via the shared feeds.AuthenticateFeedToken, returning a 401 with a Basic
challenge on failure, then streams feeds.BuildNotificationsAtomFeed. The
path is in unauthenticatedAPIPaths so the JWT middleware lets it through.
2026-06-17 21:38:16 +02:00
..
shared refactor(testing): extract e2e fixture reset/truncate into shared package 2026-06-17 12:13:50 +00:00
v1 fix(api): close the user data export reader after download 2026-06-17 18:39:38 +00:00
v2 feat(api/v2): expose notifications atom feed in the OpenAPI spec 2026-06-17 21:38:16 +02:00