Events
Events endpoints allow management of individual and batch events in the timetable.
View role definitions to understand the permission levels.
Endpoints
| Endpoint | Description | Organisation admin | Course admin | Student | Guest |
|---|---|---|---|---|---|
| POST /api/events | Creates a new event and links it to the specified series. Only users with organisation admin or course admin permissions for the series can create events. Returns the created event details. View endpoint | ⬤ | ◖ | ✕ | ✕ |
| POST /api/events/batch | Creates multiple events and links them to the specified series. Only users with organisation admin or course admin permissions for the series can create events. All events must belong to the same series. View endpoint | ⬤ | ◖ | ✕ | ✕ |
| PUT /api/events/batch | Updates multiple events in the specified series. Only users with organisation admin or course admin permissions for the series can update events. All events must belong to the same series. View endpoint | ⬤ | ◖ | ✕ | ✕ |
| POST /api/events/{eventId} | Updates the details of an existing event. Only users with organisation admin or course admin permissions for the event's series can update events. Returns the updated event details. View endpoint | ⬤ | ◖ | ✕ | ✕ |
| DELETE /api/events/{eventId} | Deletes the specified event. Only users with organisation admin or course admin permissions for the event's group can delete events. Returns success if the event was deleted. View endpoint | ⬤ | ◖ | ✕ | ✕ |
Key
| Symbol | Permissions |
|---|---|
| ⬤ | Full access |
| ◖ | Access limited to resources specified for this user |
| ✕ | No access |