Closed ghost closed 8 years ago
I think it's a tradition to have REST apis like this. Use resources
to get all, and resources/:res_id
to get individual.
I mean, if you want to list all projects as shown in the example, you will just get all projects you have access to. Wouldn't it be good to provide the functionality to really get all projects ( off course you need admin rights) by using
@get "projects/all", params, cb
as described in the API DOC
Wouldn't it be better to use
GET project/all
instead ofGET project
to query all projekts?