Closed fromheten closed 8 years ago
We should make our api adhere to REST.
Currently, our routes are GET /0/:contentId.
GET /0/:contentId
If we adhere to REST, it should be GET /0/content/:contentId.
GET /0/content/:contentId
When we later add the feature to add new content, that should be a POST /0/content with the data in params.
POST /0/content
This is a breaking change, and thus we should bump the version number.
We should make our api adhere to REST.
Currently, our routes are
GET /0/:contentId
.If we adhere to REST, it should be
GET /0/content/:contentId
.When we later add the feature to add new content, that should be a
POST /0/content
with the data in params.This is a breaking change, and thus we should bump the version number.