summaryrefslogtreecommitdiffstats
path: root/tests/units/test_0015_wrong_headers.py
diff options
context:
space:
mode:
authorRoberto Hueso Gómez <rhueso@soleta.eu>2020-06-24 11:10:11 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-06-24 13:31:24 +0200
commit3d253e65bcd77f534528ef633bd785d37b1d4da5 (patch)
tree3b0831792eb3fa09dead45d185c50132314f272a /tests/units/test_0015_wrong_headers.py
parent9c8e5c710269067859e12474a0803a8f2934136e (diff)
#980 Add GET /scopes REST request
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": [] } ] } ] } ] }
Diffstat (limited to 'tests/units/test_0015_wrong_headers.py')
0 files changed, 0 insertions, 0 deletions