Re:REST Hooks - Stop the polling madness
by sopooneo on Tuesday September 10, 2013 @12:57PM
(#6361303)
People argue that, with REST, versioning should be done in headers and not the url. Maybe that?
[ Parent
| on HN ]
Re:REST Hooks - Stop the polling madness
by steveklabnik on Tuesday September 10, 2013 @01:04PM
(#6361342)
Nooe, HATEOAS is about links. The official-sounding thing that this would violate is the "server should be able to organize its own namespace."
That said, I don't think this actually mandates any URLs. I read that part as just a suggestion for how it could be done.
Re:REST Hooks - Stop the polling madness
by sopooneo on Tuesday September 10, 2013 @01:18PM
(#6361434)
Does that mean it should be possible to just have the link be "subscription"?
Re:REST Hooks - Stop the polling madness
by steveklabnik on Tuesday September 10, 2013 @01:21PM
(#6361447)
It means that the spec shouldn't specify URIs, and instead publish link relations.
(I'm not saying that I think it should be that way, just elaborating.)