re: REST API Design Best Practices for Sub and Nested Resources VIEW POST


Hmmm... I think having nested url of 3 depth can be challenging and documentation can be a pain so I usually stick with only 2.

But I do agree that having nested url has it's place for certain reasons.


Yes, I think 2 would be a good rule of thumb, but when your data forms a tree it's okay to go deeper.

code of conduct - report abuse