Problem when getting the list course using REST API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, I am using REST API to get the list course of an instructor account using REST API on my self-hosted Canvas. I use the instructor access token, which was created on a developer key with limited scope (including this scope url:GET|/api/v1/courses) which is required to get courses of the instructor.
The API works and successfully return course data. However when I try to add request params (on Postman) include[] with values total_students, course_image, etc the response does not include these fields. I've tried with the admin account access token and it works, but when I change to the instructor access token, the response exclude theses fields.
What am I missing here?
Update: I figured out I must check the Allow Include Parameters when enforcing scope for the key. However this checkbox is not appearing on my self-hosted Canvas. Any possibilities of globally disabling this option when creating developer keys? How can I make this checkbox appears?