You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Couldn't find a way to delete more than one notification for a target. While the destroy API provides functionality to destroy a single notification, I don't see a way to destroy more than one.
Expected solution
Availability of a bulk_destroy API
Alternatives
Provision to create custom APIs which can be leveraged to bulk destroy notifications
The text was updated successfully, but these errors were encountered:
You can build your own bulk destroy API by directly deleting notification model or records on DB.
If we need to prepare common bulk destroy API, what kind of filter conditions for specifying target notifications to destroy do you want?
Maybe I wasn't clear earlier. When I meant an API for bulk_destroy, I meant a "route". Currently there is no provision to add a new route to my NotificationsController. Because I believe we can only work with routes like index, open_all, show, open, destroy and move
Problem or use case:
Couldn't find a way to delete more than one notification for a target. While the
destroy
API provides functionality to destroy a single notification, I don't see a way to destroy more than one.Expected solution
Availability of a
bulk_destroy
APIAlternatives
Provision to create custom APIs which can be leveraged to bulk destroy notifications
The text was updated successfully, but these errors were encountered: