Endpoint
Request
This endpoint does not require any parameters.cURL
Response
Dictionary of buildings keyed by building code
ISO 8601 timestamp of when the data was last refreshed, or null if never updated
Response Example
Behavior
Caching
This endpoint implements intelligent caching:- Cache Hit: If data is available in Redis cache, it returns immediately
- Cache Miss: If no cached data exists, it fetches fresh data from the upstream source, caches it for 24 hours, and updates the
last_updatedtimestamp
Data Organization
The response includes all configured buildings, even if they have no classrooms or all classrooms are busy. Buildings currently supported:- CAS - College of Arts & Sciences (7 AM - 11 PM business hours)
- CGS - College of General Studies (7 AM - 9:30 PM business hours)
Availability Calculation
Time slots in theavailability array represent gaps of at least 30 minutes between scheduled classes. Shorter gaps are not included to ensure meaningful study time.
Error Responses
500 Internal Server Error
Returns an empty object
{} if there’s an error fetching or processing classroom data. The error is logged server-side.Error Response
Unlike other endpoints, this endpoint returns an empty object instead of a standard error response to ensure the frontend can always render safely.
Use Cases
- Display current classroom availability in a web or mobile app
- Find study spaces on campus
- Analyze classroom utilization patterns
- Build scheduling or wayfinding tools
Notes
- Empty
availabilityarrays indicate the classroom is fully booked for the day - The
last_updatedfield is shared across all classrooms (data is refreshed as a batch) - Classroom IDs are unique identifiers used by BU’s scheduling system
- Times are in Eastern Time (America/New_York timezone)