mirror of https://git.48k.eu/ogserver
This patch implements HTTP GET /scopes request which returns the scopes hierarchy: Request: HTTP GET /scopes Response: 200 OK { "scope": [ { "name": "Center 1", "type": "center", "id": 1, "scope": [ { "name": "Room 1", "type": "room", "id": 1, "scope": [ { "name": "Computer 1", "type": "computer", "id": 1, "scope": [] }, { "name": "Computer 3", "type": "computer", "id": 2, "scope": [] } ] } ] } ] } |
||
---|---|---|
.. | ||
client.c | ||
client.h | ||
dbi.c | ||
dbi.h | ||
json.c | ||
json.h | ||
list.h | ||
ogAdmLib.c | ||
ogAdmLib.h | ||
ogAdmServer.c | ||
ogAdmServer.h | ||
rest.c | ||
rest.h | ||
schedule.c | ||
schedule.h | ||
utils.c | ||
utils.h |