Hacker News new | ask | show | jobs
by msgilligan 4441 days ago
The horribly-named HATEOAS is one possible solution: http://timelessrepo.com/haters-gonna-hateoas
2 comments

Maybe, if the library support is there. Right now HATEOAS seems to mean replacing your domain-specific action tags with boilerplatey <link rel=...> and not a lot else.
Yes, if HATEOAS were actually done, all you'd need to do is have libraries for handling the content types used in the API, and with a suitable generic client library everything else would come for free.

But virtually no one does that with their APIs, and virtually no one builds client libraries on the assumption that services will do that, so there's something of a chicken-and-egg problem.