Skip to content

Conversation

@Bongo50
Copy link

@Bongo50 Bongo50 commented Sep 7, 2025

Temporary fix for #286.

I was supprised to learn that the API for the old campus map still exists (example). The "_id" key in the response is what used to be used in the longer form of URLs that could be used to link to rooms. There are several Warwick services that will take this ID and translate it into a nearly always functional link to the new map. For example, https://warwick.ac.uk/sitebuilder2/api/campus_map/location/ID_HERE, which is what I used for this PR.

However, sometimes the link it produces to the new campus map doesn't work, and the old map's API probably won't exist forever, so this will need to be replaced in the future.

It's worth noting that https://tabula.warwick.ac.uk/admin/scientia-rooms lists these IDs for each room that it supports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant