Comments

4 comments

  • Andreas Garnæs

    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?)

    0
    Comment actions Permalink
  • Carl-Fredrik Herö

    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!

    0
    Comment actions Permalink
  • Andreas Garnæs

    Unfortunately you cannot subscribe to item creations for an app, you would have to use web hooks to detect those events.

    0
    Comment actions Permalink
  • Carl-Fredrik Herö

    Ok, too bad. Then I think it would be best to remove the information from the developer site. Thank you Andreas for the clarification (especially for such a quick response with regards to the time of the year).

    Best regards,

    Carl-Fredrik

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk