News for hackers. Stuff that matters.
Re:Ask HN: Nested Resources in REST/HTTP API URLs? by nickzelei on Thursday August 18, 2022 @05:00PM (#32514827)
This is the right answer here. This design simplifies APIs and makes them much more straight forward as it more easily lets you operate on the data.

Nesting entities seems like the right approach at first but can turn into a nightmare as you continue to build things out.

There are no comments on this comment yet.