Live data from Hacker News

REST Hooks - Stop the polling madness

resthooks.org

11–20 of 117 posts

Re: REST Hooks - Stop the polling madness

#11
post #8

Am I the only one who has trouble sifting through all this marketing? Even "read more" link leads to an article where half of the text promises what will be covered and another half talks about some subscriptions and how they are managed (they might have been mentioned in the first half, I agree - and I also read text only twice). If someone has a better understanding of how this works, I would appreciate a TL;DR ver…

Here's my basic understanding of it: This sounds like webhooks, but they have a set payload, so that the server that is sent the webhook just calls the rest endpoint it is given in the payload.

Re: REST Hooks - Stop the polling madness

#12

Oh neat! We're launching resthooks.org today with several partners to promote an existing but underused real-time API pattern. Here are more resources: Intro: https://zapier.com/engineering/introducing-resthooksorg/ Why: http://resthooks.org/#why Demo: http://demo.resthooks.org/

This is neat. Similar in spirit to http://jsonapi.org .

Has any thought been given to the concept of supporting the same framework over something useful in a browser? http://resthooks.org/docs/alternatives/ lists some problems with the common methods, and rightfully so, but I don't see a different recommendation.

Re: REST Hooks - Stop the polling madness

#13
post #5

Oh neat! We're launching resthooks.org today with several partners to promote an existing but underused real-time API pattern. Here are more resources: Intro: https://zapier.com/engineering/introducing-resthooksorg/ Why: http://resthooks.org/#why Demo: http://demo.resthooks.org/

I'm looking for a quick response to "How", w/o going through code. Care to enlighten me?

http://resthooks.org/docs/ has a section titled "Minimum Implementation Walkthrough" that looks to be what you're looking for.

Re: REST Hooks - Stop the polling madness

#15
post #6
post #4

I don't really understand what this is. Is this an attempt at a formalization of webhooks + JSON?

Same here - I keep coming back to "are they just talking about webhooks? or are they also talking about some kind of persistent http streaming api?" I'm thinking these are just Webhooks, but the REST part is throwing me off because I think of it more as a consumption concept (consuming resources, etc). Update: Found this, which I think explained it best: "REST Hooks itself is not a specification, it is a collection o…

Great call, we're adding it to the homepage now!

Re: REST Hooks - Stop the polling madness

#16
post #4

I don't really understand what this is. Is this an attempt at a formalization of webhooks + JSON?

Thats what it appears to be, but on closer inspection it doesn't go that far. They give an example rest path of /subscriptions but i cant tell if its an example or meant to be used as a standard endpoint name.

Re: REST Hooks - Stop the polling madness

#20
post #8

Am I the only one who has trouble sifting through all this marketing? Even "read more" link leads to an article where half of the text promises what will be covered and another half talks about some subscriptions and how they are managed (they might have been mentioned in the first half, I agree - and I also read text only twice). If someone has a better understanding of how this works, I would appreciate a TL;DR ver…

Agreed. I came here to ask if anyone actually understood anything about the product from the front page.
Post reply on HN