Meta: Add files to repository
This commit is contained in:
parent
6d27d43268
commit
52cb92f587
120 changed files with 71820 additions and 0 deletions
9
Slon/Endpoints/Get/Instance.HC
Normal file
9
Slon/Endpoints/Get/Instance.HC
Normal file
|
@ -0,0 +1,9 @@
|
|||
if (!StrICmp("/api/v1/instance", @slon_http_request_path(session))) {
|
||||
@slon_http_send_json(session, db->o("instance"));
|
||||
return;
|
||||
}
|
||||
|
||||
if (!StrICmp("/api/v2/instance", @slon_http_request_path(session))) {
|
||||
@slon_api_v2_instance_get(session);
|
||||
return;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue