Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Haters gonna HATEOAS (Hypertext As The Engine Of Application State) (timelessrepo.com)
10 points by o1iver on Aug 8, 2011 | hide | past | favorite | 1 comment


The reason nobody does HATEOAS in APIs is because the libraries used by clients don't encourage or even enable it. Chicken and egg.

Why should you care? The real potential is that you don't need a separate API site, you just add links to your existing HTML representations, and optionally provide JSON representations for bots so they don't have to download puny human HTML.

There's a rare of example of this in action in the wild: Canonical's Launchpad. Paper: http://www.crummy.com/writing/speaking/2010-WS-REST/Develope...




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: