4 ms·
The docs are an awesome repo by TripIt (https://github.com/tripit/slate https://github.com/tripit/slate). They aren't perfect, but they get you pretty far pret
by ryanwjackson 12y ago
The docs are an awesome repo by TripIt (https://github.com/tripit/slate https://github.com/tripit/slate). They aren't perfect, but they get you pretty far pretty quickly.
Not sure what you mean by "links between your resources." Have an example? May be there (or we can build it if not).
Correct on Unix time. Just being extra redundant.
- xrstf 12y agoRoy 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-hypertext-driven http://roy.gbiv.com/untangled/2008/rest-apis-must-be-hyperte... [2] http://stateless.co/hal_specification.html http://stateless.co/hal_specification.html [3] https://www.mnot.net/blog/2011/11/25/linking_in_json https://www.mnot.net/blog/2011/11/25/linking_in_json [4] http://en.wikipedia.org/wiki/HATEOAS http://en.wikipedia.org/wiki/HATEOAS