I'm working on a custom plugin that uses the JSON web service for the calendar portlet to just display events (via, e.g., http://localhost:8080/api/jsonws/calendar-portlet.calendar/get-calendar/calendar-id/11504).
It seems like it should be simple to get a list of calendars that a user has access to, but I cannot figure this out. The plugin uses a combination of Java and JavaScript, so I could get the info either via Java or REST/JSON.
Right now, I'm going into the calendar and getting the ID from the RSS feed URL; I'm sure that this is not the best way to get this info.