[DELETE] /notices/1,2,3
Violates REST API principles.
Semantic violation since
1,2,3is not a resource.
It opens up to an arbitrary amount of IDs in the URI.
This is also undesired because the controller has to parse the IDs, increasing overhead in the handler.
This should be:
Three separate calls.
OR accept query parameters as a filter
?id[]=1&id[]=2&id[]=3HTTP will automatically construct this format into an array.
?id=1,2,3The controller will need to parse the IDs manually.
Previous[GET] /admissions/file-review/file/rubric-score/{cycle_id}/{pool_id}/{subpool_id}Next[GET] /cbe/curriculum/framework/{framework_id}/hierarchy-by-depth
Last updated