My question is about the advantages of nesting resources when building URLs for API purposes. Consider the following two alternatives for accessing an employee resource:
From my experience:
Q1. Easier to use, hard to implement because of relational model
Q2. Nested is better when it comes to permissions and others potential checks that you can do before you go levels down