Skip to content

Add /comments API #7708

@Naragod

Description

@Naragod

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.

Image

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions