Raw syntax of 'silent' parameter?



  • Casper Fabricius

    The correct syntax is silent=true. An example for item update would be:

    PUT /item/1234?silent=true

    However, setting silent to true only prevents stream updates and notifications. The webhook will still be called. So if you have a webhook that subscribes to item.update, and also updates an item, you will have to keep track of that and make sure to ignore the call to your webhook that comes as a result of your code updating the item.

    Comment actions Permalink
  • Stefan Ukena

    Thanks, Casper! That explains why it didn't seem to work for me. :) In fact, it does make sense now that you explain how it works. Especially if I consider that my app might not be the only one being notified, it would not make sense to stop other hooks to be triggered.

    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk