Slon/Endpoints/Get/Instance: Add placeholder for /api/v1/instance/activity
This commit is contained in:
parent
75787090d2
commit
c5378f5cfd
1 changed files with 6 additions and 0 deletions
|
@ -3,6 +3,12 @@ if (!StrICmp("/api/v1/instance", session->path())) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!StrICmp("/api/v1/instance/activity", session->path())) {
|
||||||
|
// FIXME: Implement this
|
||||||
|
session->send(SLON_EMPTY_JSON_ARRAY);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (!StrICmp("/api/v2/instance", session->path())) {
|
if (!StrICmp("/api/v2/instance", session->path())) {
|
||||||
@slon_api_v2_instance_get(session);
|
@slon_api_v2_instance_get(session);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue