Earlier quoted context omitted.
I am the author and I agree with most of what you are saying here, REST and HATEOAS are for humans: https://intercoolerjs.org/2016/05/08/hatoeas-is-for-humans.h... I disagree that it isn't an API, but that's a definition quibble. It is probably more profitable to talk about RESTful systems rather than RESTful APIs, since people think API == machines talking.
> I disagree that it isn't an API, but that's a definition quibble. I don't understand: An API is an application programming interface, i.e. it is meant to be consumed by other programs. How does that go together with > REST and HATEOAS are for humans ? And how does that go together with the requirements of "no interpretation needed" and therefore "little coupling" between client and server that were mentioned in the…
https://htmx.org/essays/hypermedia-apis-vs-data-apis/
Use hypermedia (and, who would have guessed I'd recommend this? something like htmx) to build your web application.
Use GraphQL or whatever other nonRESTful technology fits best to build your data API.