3 ms·
You could add a get parameter defining which resource you want to get (no values meaning just getting the id/href) and you put something like ?expand=user,order
by Keats 13y ago
You could add a get parameter defining which resource you want to get (no values meaning just getting the id/href) and you put something like ?expand=user,orders if you want to get them in one query
21 requests is indeed too much to display 10 items I think
- detst 13y agoThe Stripe API[1] does this (i.e., "expanding objects"). [1] https://stripe.com/docs/api https://stripe.com/docs/api