Listen for item create pushes
The page https://developers.podio.com/examples/push says I can subscribe to newly created items but I can't find the endpoint to use.
Note: I know about the hooks feature but I'm trying to learn new stuff on Podio. Also, I want this to work on a server that is now open to ping from the outside.
Best regards,
Carl-Fredrik
-
The push service is driven by a server that implements the CometD / Bayeux protocol, so it's separate from the rest of the REST API. It's easiest if you find a CometD / Bayeux client library for your particular language, which handles subscriptions, etc. You can find an example for node here: https://gist.github.com/haugstrup/7420255 (your name is actually mentioned in that snippet?)
-
Hi Andreas, what I'm looking for is the "push"-property from the API-response.
Example:
The Get Item response has a push property with the channel to subscribe to.
Now, I need an endpoint that I can get the push channel for "subscribe to future new items in X app". I looked at the "get app" endpoint, the "filter items" but no luck.
Thanks!
Please sign in to leave a comment.
Comments
4 comments