AnsweredAssumed Answered

Canvas calendar API (locking & all_day)

Question asked by Matthew Buckett on Jan 26, 2018
Latest reply on Feb 24, 2018 by Stuart Ryan

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?

Outcomes