Las API de algunos sitios web le permiten hacer algo como esto:
Initial user's id their first friend, also a user vv GET /api/users/54282/friends/0/friends/0 ^ first item in array, would also be a userMás bien que
Initial user's id v GET /api/users/54282/friends Look at friends[0].id to get the first friend's id First friend's id v GET /api/users/97420/friends Look at friends[0].id to get the first friend's id First friend's id v GET /api/users/31230Otro ejemplo aunque no estoy seguro si Github permite esto
Get the 10th collaborator's repos GET /api/users/sharedrory/repos/312388/collaborators/10/repos¿Cómo implementarías algo como esto en express?
Parece que el término que quería era "anidado"/"anidado"
Resto con el enrutador anidado Express.js https://gist.github.com/zcaceres/f38b208a492e4dcd45f487638eff716c