Found this content helpful? Log in or sign up to leave a like!
Access course allow_student_wiki_edits property via Canvas API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I need a way to get the value of "can create, rename, and edit course pages by default" from the course settings page via a Canvas API. I understand it maps to allow_student_wiki_edits from the course object; there is a way to set this value using the Course POST or Course PUT, but there isn't a way to read it.
I am happy with any programmatic solution, including Canvas GraphQL API.
There is no .json view for the course settings page.
This property is also not available in the /course/:id/settings API.
Course Settings page refers to it as default_wiki_editing_roles, which is also not a thing in any APIs.
Thanks
Doug
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I couldn't find it either, but one workaround seems to be creating a new page only specifying a title.
Then you can check that page object's JSON which lists, under "editing_roles", who has access to edit that page.