Hacker News new | ask | show | jobs
by dragonwriter 2702 days ago
> REST's shortcomings are the handful of endpoints required to get the information you actually want.

That's a problem of a naive CRUD API against a normalized relational datastore (or one structurally resembling such a store) regardless of architectural style, but there is no reason any standardized packet of information for which there is an expected recurring need should not be conceptualized as a resource in a REST API.

Orthogonality or normalization is not part of the REST architectural style.

1 comments

This approach necessitates an ever growing number of increasingly specific APIs, or an ever growing set of flags and options which will inevitably approximate a poorly implemented version of GraphQL.
Exactly. Eventually eroding REST away to "RESTful".