[Openid-specs-ab] FYI: Being RESTful with JSON API -- HAL+JSON

Nat Sakimura sakimura at gmail.com
Mon Aug 27 12:57:37 UTC 2012

I was not aware of HAL. http://tools.ietf.org/html/draft-kelly-json-hal-03
As you know, since JSON has no defined link relation syntax, by
itself, a JSON API is not quite RESTful.
See http://norestforjson.blogspot.jp/2012/08/json-is-not-restful.html

There are people who is working to define such. One example is HAL.
- http://tools.ietf.org/html/draft-kelly-json-hal-03

Interestingly, our Userinfo response is almost like HAL: if we replace
_claim_sources to _link and
mandate there be "self" in it, and response type was changed to
application/hal+json instead of application/json, then it is HAL.


Nat Sakimura (=nat)
Chairman, OpenID Foundation

More information about the Openid-specs-ab mailing list