Endpoints
Buildings
7
Rooms
5
Navigation
8
Users
7
Schedule
15
Occupancy
6
Maintenance
8
Analytics
6
Buildings API
Manage and retrieve building information including floor plans, rooms, and occupancy data.
Base URL: https://api.navigateuz.co.zw/v1
GET
/buildings
List all buildings
[
{
"id": "lib",
"name": "Main Library",
"code": "LIB",
"floors": 4,
"rooms": 48,
"category": "Academic",
"occupancy": 72,
"lat": -17.7844,
"lng": 31.0530
}
]
GET
/buildings/:id
Get building details
{
"id": "lib",
"name": "Main Library",
"code": "LIB",
"floors": 4,
"rooms": 48,
"amenities": ["WiFi", "Study Rooms"],
"hours": "7:00 AM - 10:00 PM"
}
POST
/buildings
Create a new building (Admin only)
{
"id": "new-building",
"name": "New Building",
"message": "Building created successfully"
}
GET
/buildings/:id/rooms
List rooms in a building
[
{
"id": "room-105",
"name": "Room 105",
"floor": 1,
"type": "Lecture Hall",
"capacity": 120,
"available": true
}
]