Hello,
I am looking to make a bulk update to the titles of rubrics in courses on our instance of Canvas and I am running into an issue. After some testing I am encountering the issue of the criteria being removed once the title update is pushed. I am using Excel and VBA to complete this task to try and make it user friendly for those who might use it in the future in the office so I am opting to use a json format when I make the PUT call. I will also say I am a bit of a novice when it comes to this so I may get some terminology incorrect.
I cannot find the exact format that is necessary nor can I find what fields are required in order to make sure that all of the data is saved. I noticed that the field that contains the criteria is titled "data" in the GET return which is also slightly confusing since we have to PUT a criteria object. I tried initially to take the return, change the title and change "data" to "criteria" which gave me a 500 error. I also tried using a format where you number the objects (ex: "criteria":{"0":{"id":) which also did not yield any results.
If anyone has any details or tips for how to do this I would be very appreciative as this is the only call I have experienced so far that has this behavior and I am at a loss for how to do this.