Meta: Add files to repository
This commit is contained in:
parent
6d27d43268
commit
52cb92f587
120 changed files with 71820 additions and 0 deletions
12
Slon/Api/V1/Favourites.HC
Normal file
12
Slon/Api/V1/Favourites.HC
Normal file
|
@ -0,0 +1,12 @@
|
|||
U0 @slon_api_v1_favourites_get(SlonHttpSession* session)
|
||||
{
|
||||
// SLON_SCRATCH_BUFFER_AND_REQUEST_JSON
|
||||
|
||||
if (@slon_api_authorized(session)) {
|
||||
// SLON_AUTH_ACCOUNT_ID
|
||||
// FIXME: Implement this
|
||||
@slon_http_send_json(session, SLON_EMPTY_JSON_ARRAY);
|
||||
} else {
|
||||
@slon_http_set_status_code(session, 401);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue