Notifications trigger randomly from new items created via API
Hello, I've noticed some strange behaviour.
I create items via API, using PodioItem::create. I am not specifying any paremeters (hook or silent), so the default silent => false should apply.
Sometimes when items are created, I get notifications from the app, sometimes not. Just today I have had multiple cases of both happening. What gives?
-
Official comment
Hi Henrik,
Notifications are "throttled", ie. if there's a lot of activity on an item in a very short amount of time, the API will stop generating notifications for a short while. This is to avoid overloading the user completely with notifications about the same thing.
Specifically for you case which is about notifications about creating items, bear in mind that you have to follow the app where you create the item to get notified about newly created items.
Comment actions
Please sign in to leave a comment.
Comments
3 comments