A restful service API designing issue
问题 One issue about the restful service API designing. I'm not sure how is a proper way to do it. Please give me some suggestions. My scenario is like this. I have a user resource and permission resource. http://www.sample.com/rest/users http://www.sample.com/rest/permissions User can have multiple permission; one permission can be used for many users; it is many to many relationship. Normally, we can say a permission belongs to a user, so we have an API like: http://www.sample.com/rest/users/