Hacker News new | past | comments | ask | show | jobs | submit login

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




The Stripe API[1] does this (i.e., "expanding objects").

[1] https://stripe.com/docs/api




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: