Slon/Api/V1/Notifications: Add initial support for Notifications

This commit is contained in:
Alec Murphy 2025-03-20 09:54:24 -04:00
parent bd8c5009fc
commit 022fceb21b
8 changed files with 123 additions and 3 deletions

View file

@ -2,3 +2,8 @@ if (String.BeginsWith("/api/v1/notifications", session->path())) {
@slon_api_v1_notifications_get(session);
return;
}
if (String.BeginsWith("/api/v2/notifications", session->path())) {
@slon_api_v2_notifications_get(session);
return;
}

View file

@ -0,0 +1,4 @@
if (String.BeginsWith("/api/v1/notifications", session->path())) {
@slon_api_v1_notifications_post(session);
return;
}