Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • Excellent principle: "The ideal response size for any request is the smallest possible size that contains all the information the client needs." Commented Feb 6, 2020 at 13:54
  • I also like how ORMs are usually configured for this so you can easily code if they want x, include x, and since you already defined the relationship, the ORM can do the rest dynamically. Sometimes the extra complexity makes the endpoint a pain to use, but this has been an easy win for our APIs. Commented Aug 15, 2024 at 13:15