Hacker News new | ask | show | jobs
by xrstf 4116 days ago
Roy says[1] that to be truly RESTful, your resources (documents) need to be linked between each other, just like HTML pages. There are no definite standards yet (that I'm aware of), but JSON HAL[1] seems to be on the IETF standards track to be the one solution we settle on (just like we "settled on" <a href> in HTML). See also [3] for a broader overview on links in JSON and [4] for more information on resource linking and stuff in general.

[1] http://roy.gbiv.com/untangled/2008/rest-apis-must-be-hyperte...

[2] http://stateless.co/hal_specification.html

[3] https://www.mnot.net/blog/2011/11/25/linking_in_json

[4] http://en.wikipedia.org/wiki/HATEOAS

1 comments

What about JSON-LD and linked data platform. At least JSON-LD comes from the W3C Web payement workgroup
I haven't looked into the available techniques for a few months. JSON HAL works fine for me for now. ;)