Get a list of all subscribers

When calling “/event-subscribers?channel=home” I get a list of all the subscribers in the home channel.
But when I call “/event-subscribers” I get an empty list back. Would it not be better to return a list of all subscribers from all channels instead of an empty list in this case?

Your application should only be binding to the channels that they’re explicitly interested in so a complete list shouldn’t be needed, but you can add a feature request for it to see if there’s any demand for it.

Note: you can supply multiple channels using a comma separated list, e.g: /event-subscribers?channel=home,work

For the normal clients I agree it’s enough to see the specific channels. But I’m making a overview/administration page in which I want to show a list of all users across all channels.
I think I can get by without it, anyway, so I guess it’s just a “nice to have” thing.

You can now use /event-subscribers to return all channel subscribers from this commit.

This change is available from v4.0.47 that’s now available on MyGet.

1 Like