api design
michigg opened this issue · 0 comments
michigg commented
Current Features
- list all known buildings
- get informations of a specific building
Api Design
- :
/api/v1/building/
=> building keys (IDs) - :
/api/v1/building/?coord=<coord>
=> returns distance sorted building keys (nearest building first) - :
/api/v1/building/<building_key>/
=> full building definition - :
/api/v1/building/<building_key>/graph/
=> network_x graph export - :
/api/v1/building/<building_key>/graph/plot/
=> Image url to the current graph plot - :
/api/v1/building/<building_key>/staircase/?level=<level>&room_number=<room_number>
=> returns all staircases which are possible to access the room