[GET] /admissions/file-review/file/rubric-score/delete/{id}
fileandrubric-scoreare singular. However, they should be plural, because this URI is referring to a set of rubric scores associated with a particular file.file-reviewis not a resource. It is a namespace, so this is okay. But multiple nested namespaces like/admissions/file-review/file-approval/...is a bad practice.The wrong HTTP method is being used. The endpoint deletes rubric scores, but the HTTP method is GET.
The actual verb "delete" is in the route, which should instead be captured by the HTTP method.
More succinct because it is clear which file the score belongs to.
This allows for checking permissions to access the file.
Previous[GET] /cbe/curriculum/framework/{framework_id}/hierarchy-by-depth
Next[GET] /portfolio/entries/{entry_id}/get-file
Last updated