Canvas calendar API (locking & all_day)

matthew_buckett
Community Contributor

Is it possible to lock calendar events created through the Canvas API? When you create an event (https://canvas.instructure.com/doc/api/calendar_events.html#method.calendar_events_api.create) you aren't able to supply a `workflow_state` parameter and from looking at the source it's not one of the permitted properties (canvas-lms/calendar_event.rb at stable · instructure/canvas-lms · GitHub ). It looks like having `workflow_state` of `locked` would prevent a user from editing the event through the UI.

Secondly, it looks like the `all_day` parameter is permitted, but this isn't documented is this the case or is `all_day` only allowed for assignment events?

Labels (1)