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

If I'm finding the invoice endpoint through the root instead of a link in the user, won't I need a uri template to know where to put the user id?

In REST you do not need URI templates. You discover the invoice collection endpoint through the root endpoint, and once you have a ID you can, say, query the invoice collection endpoint to get to the invoice.

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