Azure / Azure/azure-webpubsub

Please create a method to list all users in a group or that are connected to the service.

Open
#325 20 comments 3 reactions 0 assignees View on GitHub
feature-request
Dominant language
TypeScript
Stars
147
Forks
96
Avg merge
19h 28m
Merged PRs (30d)
87

Description

The API would benefit greatly from a call to get a list of users and connections connected to a group or hub.
When a client first joins a group, they may want to know who is connected.
Also I may want to poll a particular group to see who is online at that time.
This is more robust since it's tracked inside PubSub which already is maintaining such lists internally.

There is already a UserExists method so this would be a good comliment.
I propose you add a method such
- listUsers(optional group name)
- listConnections(optional group name)
- listUserGroups(userID)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the existing UserExists method and the PubSub group or hub APIs. Compare the three proposed operations—listUsers, listConnections, and listUserGroups—and determine the required API behavior for group membership and online connections. Done means the requested listing methods are implemented with agreed semantics and covered by the project’s relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, typescript
Domain
api, backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.