Most institutions already hold course information somewhere: a student record system, a curriculum database, a spreadsheet that someone maintains with great care. A course calendar should be able to take it from there.
EdCal has always had an API. It's how our own administration screens work, and some administrators already use it to load and update events in bulk. Until now, though, the documentation lived with us. If your IT team wanted to know what the API could do, they had to ask.
From today, the documentation is public at app.edcal.co.uk/docs.
What the API covers
Through the API, your systems can do what your administrators do in the administration screens:
- Courses and their structure: create departments, courses and modules, and arrange them in the same tree your administrators see.
- Series and events: create a series of sessions, add, change or cancel individual events, and update many events at once.
- Subscriptions: see and manage which courses and series people follow.
Changes made through the API reach students' calendars in exactly the same way as changes made in the administration screens.
Permissions, documented
The API uses the same administrator roles as the rest of EdCal. Someone who can manage one department's courses in the administration screens can manage the same courses through the API, and no more.
We've documented the permission each endpoint needs, so your developers can see in advance which role an integration will need. That makes for a much shorter conversation with whoever approves access at your institution.
Why publish it
Two reasons.
It saves time on both sides. A developer can read the documentation, try out ideas and come to us with specific questions, rather than a general "what can it do?".
It's part of due diligence. If you're considering EdCal, your IT and procurement teams will want to know how it fits with your other systems before anything is signed. Now they can check for themselves.
What's next
The documentation will grow as the API does. If something you need isn't there, or isn't clear, tell us at help@edcal.co.uk. We'd much rather hear about a gap now than after you've built around it.