Hi All,
I have maybe a newbie question. I've been using the Canvas APIs to do some data replication and ran into an issue that has me stumped. We have one course where Assignment Groups (Weighted Grades) were specified and then later removed, however the api still returns the same assignment group information.
If I hit a course with assignment groups that are currently active, I get:
[{"id":72,"name":"Discussions","position":1,"group_weight":25.0,"sis_source_id":null,"integration_data":{},"rules":{}},{"id":73,"name":"Assignment 1","position":2,"group_weight":15.0,"sis_source_id":null,"integration_data":{},"rules":{}},{"id":74,"name":"Assignment 2","position":3,"group_weight":20.0,"sis_source_id":null,"integration_data":{},"rules":{}},{"id":75,"name":"Assignment 3","position":4,"group_weight":20.0,"sis_source_id":null,"integration_data":{},"rules":{}},{"id":76,"name":"Assignment 4","position":5,"group_weight":18.0,"sis_source_id":null,"integration_data":{},"rules":{}},{"id":77,"name":"Graduate Survey","position":6,"group_weight":2.0,"sis_source_id":null,"integration_data":{},"rules":{}}]If I hit a course with an assignment group that has been removed, I get:
[{"id":84,"name":"Assignments","position":1,"group_weight":55.0,"sis_source_id":null,"integration_data":{},"rules":{}},{"id":85,"name":"Discussions","position":2,"group_weight":33.0,"sis_source_id":null,"integration_data":{},"rules":{}},{"id":86,"name":"Daily Bonus","position":3,"group_weight":5.0,"sis_source_id":null,"integration_data":{},"rules":{}},{"id":87,"name":"Activities","position":4,"group_weight":12.0,"sis_source_id":null,"integration_data":{},"rules":{}},{"id":88,"name":"Imported Assignments","position":5,"group_weight":0.0,"sis_source_id":null,"integration_data":{},"rules":{}}]
Is there a different API or parameter that allows me to determine if the assignment group is currently in use? I've checked a few different APIs and read a decent amount of documentation, but I seem to be missing this information and could really use some guidance.