I have two resources
devices with a one to many relationship (A user can have multiple device).
I’ve got different endpoints and i’m wondering if they are “ok”
/users // get all users
/users/:id // get one user
/users/:id/devices // get user’s devices
/users/:id/devices/:id // get on device of a user
I don’t have any endpoints for getting all devices or one device and i’m wondering if it’s ok