- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
According to https://canvas.instructure.com/doc/api/grading_standards.html, it should be possible to return the grading_standard used in a course.
I have a course with a grading scheme set, yet when using either of the following calls, I get no results:
/api/v1/courses/:course_id/grading_standards
/api/v1/courses/:course_id/grading_standards/:grading_standard_id
If I get the grading_standard_id using /api/v1/courses/:course_id/settings, then use that id in /api/v1/accounts/:account_id/grading_standards/grading_standard_id, I can see the grading standard.
Has anyone successfully used the /api/v1/courses/:course_id/grading_standards call or is there a bug with this call?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I did some testing and that is what the problem is...the grading scheme was added at the account level, but if I add a grading scheme in the course and apply it, I can get the grading_standard using the course call: /api/v1/courses/:course_id/grading_standards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It works for me with this sequence:
/api/v1/courses/:course_id
/api/v1/courses/:course_id/grading_standards/:grading_standard_id
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How strange. I am unable to get it using the course call, yet using the ID and making the call for the account, I can get it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You said you called /api/v1/courses/:course_id/settings, but I'm calling /api/v1/courses/:course_id. Could that be it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I made the settings call to retrieve the grading_standard_id, but I see the same ID is available when calling /api/v1/courses/:course_id. By any chance did you create a new grade scheme in your course or was it a grade scheme set at the account level? I'm wondering if that makes a difference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I did some testing and that is what the problem is...the grading scheme was added at the account level, but if I add a grading scheme in the course and apply it, I can get the grading_standard using the course call: /api/v1/courses/:course_id/grading_standards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Great, I'm glad you figured it out!
