afraid-scarlet
afraid-scarlet3y ago

How to deal with nested resources?

Hi! What is the best practice to have nested resources? For exmaple: There is a Organization which has many Employees, how would I create a resource that is the following: /orgs/:orgId/employees for list /orgs/:orgId/employees/:employeeId for show etc.?
4 Replies
afraid-scarlet
afraid-scarletOP3y ago
Just found a topic which is the exact same.
equal-aqua
equal-aqua3y ago
Hello!
afraid-scarlet
afraid-scarletOP3y ago
Hey!

Did you find this page helpful?