cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
agschmid
Community Contributor

grading_standards API Question

Jump to solution

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?

Labels (3)
0 Kudos
1 Solution

Accepted Solutions
agschmid
Community Contributor

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

View solution in original post

0 Kudos
6 Replies
dgrobani
Community Champion

It works for me with this sequence:

/api/v1/courses/:course_id
/api/v1/courses/:course_id/grading_standards/:grading_standard_id

 

agschmid
Community Contributor

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.

dgrobani
Community Champion

You said you called /api/v1/courses/:course_id/settings, but I'm calling /api/v1/courses/:course_id. Could that be it?

agschmid
Community Contributor

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.

agschmid
Community Contributor

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

View solution in original post

0 Kudos
dgrobani
Community Champion

Great, I'm glad you figured it out!