mirror of
https://git.checksum.fail/alec/slon.git
synced 2025-12-08 20:19:56 +02:00
Slon/Api/V1/Notifications: Add initial support for Notifications
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
4
Slon/Endpoints/Post/Notifications.HC
Normal file
4
Slon/Endpoints/Post/Notifications.HC
Normal file
@@ -0,0 +1,4 @@
|
||||
if (String.BeginsWith("/api/v1/notifications", session->path())) {
|
||||
@slon_api_v1_notifications_post(session);
|
||||
return;
|
||||
}
|
||||
Reference in New Issue
Block a user