RocketChat / RocketChat/Rocket.Chat

Add userId argument to "groups.list" REST API call

Open
#12,943 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: backend triaged type: improvement
Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

The groups.list API call lists all private groups of the current user.

It would be very useful to retrieve the list of private groups for a given user, similar to the groups.counters API call. This could be achieved similarly by adding a userId argument.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the groups.list REST API documentation and compare it with the groups.counters API call, then trace the corresponding endpoint implementation. Done means groups.list accepts a userId argument and returns that user's private groups, with behavior consistent with the existing API conventions.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.