summaryrefslogtreecommitdiffstats
path: root/sources/rest.c
Commit message (Collapse)AuthorAgeFilesLines
* #980 Add Virtual statusJavier Sánchez Parra2020-06-261-0/+2
| | | | | Since version 1.2.0, OpenGnsys supports ogVDI hypervisor OS. This commit a new status which indicates that clients are running ogVDI.
* #971 split socket core logic and main filesOpenGnSys Support Team2020-06-241-0/+2
| | | | Extract socket core and main from ogAdmServer file.
* #980 coding style cleanupOpenGnSys Support Team2020-06-241-10/+11
| | | | | * Curly braces after function definition * use _dbi_ infix for function name
* #980 Add GET /scopes REST requestRoberto Hueso Gómez2020-06-241-0/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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": [] } ] } ] } ] }
* #971 split into smaller fileOpenGnSys Support Team2020-06-181-0/+3100
Split ogAdmServer into several files: * sources/rest.c that implements the server REST API. * sources/client.c that implements the client REST API. * sources/json.c that provides a few JSON helpers.