GET /api/events

Description

Returns list of course events.

Parameters

start

Int. Optional. Index to start at.

limit

Int. Optional. Max length of result set.

mode

String. Optional. ”future”/”finished”/”all”.  Controls if we are to get future or finished events, or both. Default: ”future”

startdate

String, date on ISO format. Optional. Return only events starting on or after this time. Overrides ”mode” parameter.

enddate

String, date on ISO format. Optional. Return only events starting before this time. Overrides ”mode” parameter.

Return

Array of Event objects.

Security

Superuser, manager, person

GET /api/events/:id

Description

Returns detailed view of course event.

Return

Array of one Event object.

Security

Superuser, manager, person