parent
6e9f86b4ae
commit
475e648feb
11 changed files with 345 additions and 0 deletions
4
Slon/Endpoints/Delete/Announcements.HC
Normal file
4
Slon/Endpoints/Delete/Announcements.HC
Normal file
|
@ -0,0 +1,4 @@
|
|||
if (String.BeginsWith("/api/v1/announcements", session->path())) {
|
||||
@slon_api_v1_announcements_delete(session);
|
||||
return;
|
||||
}
|
4
Slon/Endpoints/Get/Announcements.HC
Normal file
4
Slon/Endpoints/Get/Announcements.HC
Normal file
|
@ -0,0 +1,4 @@
|
|||
if (!StrICmp("/api/v1/announcements", session->path())) {
|
||||
@slon_api_v1_announcements_get(session);
|
||||
return;
|
||||
}
|
4
Slon/Endpoints/Post/Announcements.HC
Normal file
4
Slon/Endpoints/Post/Announcements.HC
Normal file
|
@ -0,0 +1,4 @@
|
|||
if (String.BeginsWith("/api/v1/announcements", session->path())) {
|
||||
@slon_api_v1_announcements_post(session);
|
||||
return;
|
||||
}
|
4
Slon/Endpoints/Put/Announcements.HC
Normal file
4
Slon/Endpoints/Put/Announcements.HC
Normal file
|
@ -0,0 +1,4 @@
|
|||
if (String.BeginsWith("/api/v1/announcements", session->path())) {
|
||||
@slon_api_v1_announcements_put(session);
|
||||
return;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue