1) Should the state changing endpoints be grouped under a single endpoint ?
HTTP methods should solely indicate the type of operation performed on the resource, so cannot group the reject endpoints ( which delete a resource ) under the same mapping
2) Is it better to use the PATCH http method when updating a single field like state ?
The PATCH method will be used when updating the state of an entity
This issue is referenced in Issue #3
1) Should the state changing endpoints be grouped under a single endpoint ?
HTTP methods should solely indicate the type of operation performed on the resource, so cannot group the reject endpoints ( which delete a resource ) under the same mapping
2) Is it better to use the PATCH http method when updating a single field like state ?
The PATCH method will be used when updating the state of an entity