Vincent Massol wrote:
Other question:
Why use the plural when retrieving a single instance.
For example:
/spaces --> All spaces
/space/{space} --> One space
Ah just saw you changed that but not everywhere.
Like classes/{class} should be class/{class}
And pages/{page} should be page/{page}
no?
Actually I think that the plural form makes sense.
/spaces/Main means that in the "list of spaces, I want the Main space",
being /spaces the resource representing that list.
Same thing for classes.
-Fabio