summaryrefslogtreecommitdiffstats
path: root/sources/dbi.h
Commit message (Collapse)AuthorAgeFilesLines
* #980 Add GET /scopes REST requestRoberto Hueso Gómez2020-06-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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": [] } ] } ] } ] }
* #941 Move OG_COMPUTER_NAME_MAXLEN to dbi.hRoberto Hueso Gómez2020-06-241-0/+1
| | | | | This parameter is actually a database related parameter so now it is renamed to OG_DB_COMPUTER_NAME_MAXLEN.
* #971 split into smaller fileOpenGnSys Support Team2020-06-181-0/+27
| | | | | | | | 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.
* #941 add basic database-independent abstraction (dbi)OpenGnSys Support Team2020-03-041-0/+21
Add basic infrastructure to support for the independent database layer.