Task
We wish to create an API that allows us to view all of the overall comments given to an assignment and similarly update all overall comments on an assignment.
Investigation
Currently, we are able to provide over all comments on the UI through the markdown text area.
Everytime this textbox is updated, the overall_comment value on the results table for the given assignment is updated with this expression.
We wish to able to update this stored value through an API PATCH call and similarly receive this value through a GET request.
Suggestions
All changes are handled by the annotations_controller.rb, particularly the create and update methods. It would be a good idea to expose this functionality in an api annotations_controller.
Task
We wish to create an API that allows us to view all of the overall comments given to an assignment and similarly update all overall comments on an assignment.
Investigation
Currently, we are able to provide over all comments on the UI through the markdown text area.
Everytime this textbox is updated, the
overall_commentvalue on theresultstable for the given assignment is updated with this expression.We wish to able to update this stored value through an API
PATCHcall and similarly receive this value through aGETrequest.Suggestions
All changes are handled by the annotations_controller.rb, particularly the
createandupdatemethods. It would be a good idea to expose this functionality in an api annotations_controller.