Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Fields Query Parameters not working on livechat rooms list endpoint

Open mkvashennikov opened this issue 3 years ago • 18 comments

Description:

Fields Query Parameters not working on livechat rooms list endpoint

Steps to reproduce:

  1. Send request with query or fields parameter on endpoint '/api/v1/livechat/rooms'
  2. Returned all rooms without apply query or fields

Expected behavior:

Rooms can be filtered by fields

Actual behavior:

image

Server Setup Information:

  • Version of Rocket.Chat Server: 3.14.0
  • Operating System: Windows 11
  • Number of Running Instances: 1

mkvashennikov avatar Apr 25 '22 16:04 mkvashennikov

Hi!

I have checked on latest code, and looks that query parameter is still not supported: (files have been changing places due to some coding refactoring for monorepo)

https://github.com/RocketChat/Rocket.Chat/blob/f0c37c5a8c904181577b80d239255284ac6a1280/apps/meteor/app/livechat/imports/server/rest/rooms.js#L26

Also, tried to look for other endpoint but it filters by t: "c".

I will mark as bug and raise it with our team.

Thanks for pointing out.

dudanogueira avatar Apr 25 '22 22:04 dudanogueira

This is the documentation of this API, for reference: https://developer.rocket.chat/reference/api/rest-api/endpoints/omnichannel/omnichannel-endpoints/rooms/livechat-rooms-list

dudanogueira avatar Apr 25 '22 22:04 dudanogueira

@dudanogueira Could I attempt to fix this issue? And if so, would you mind assigning it to me?

ykabusalah avatar May 03 '22 19:05 ykabusalah

I want to work on the issue. Could you please assign it to me.

Shofiya2003 avatar May 28 '22 15:05 Shofiya2003

@ykabusalah @Shofiya2003 feel free to work on this. Please join our #contributors channel and leave me a ping (@debdut.chakraborty). You can ask me any related questions there.

debdutdeb avatar May 31 '22 12:05 debdutdeb

@debdutdeb I was working on the issue. I followed all the steps in the documentation to setup rocket chat locally but when I run yarn build I get this error 'command (packages/ui-contexts) yarn run build exited (129)' . Could you please help me?

Shofiya2003 avatar Jun 23 '22 13:06 Shofiya2003

@debdutdeb I tried pulling the changes but there are some changes in the folder that I did not make. I tried stashing and reverting them but there is an error. What should I do? error: lstat("apps/meteor/.storybook/.eslintrc.js"): Function not implemented

fatal: Unable to process path apps/meteor/.storybook/.eslintrc.js

Cannot save the current worktree state

This it the error which I get after staging and stashing the commits Should I do the cloning process again?

Shofiya2003 avatar Aug 02 '22 11:08 Shofiya2003

Hi, is this issue still open? Can I start working on it? @debdutdeb

Aashray446 avatar Jan 08 '23 06:01 Aashray446

I have explored the codebase related to this issue, currently, I guess instead of query support, custom fields are given to perform any search for custom fields. Am I correct?

Aashray446 avatar Jan 09 '23 05:01 Aashray446

Hi, @debdutdeb is this issue still open I want to work on this issue. Can you please assign this to me?

coderboy-yash avatar Aug 12 '23 18:08 coderboy-yash

Hey @debdutdeb @dudanogueira is this issue still relevant I mean has it been patched or by-passed in previous version's

lokesh-wagh avatar Sep 25 '23 16:09 lokesh-wagh

Has this issue not been fixed by this PR? May I know why it was closed @dudanogueira ?

Starkz24 avatar Aug 08 '24 14:08 Starkz24

Hi, I’m interested in working on this issue. Could you assign it to me, or let me know if it’s already being worked on?@dudanogueira

VaidyaPranav avatar Feb 01 '25 10:02 VaidyaPranav

I would love to pick this up!

souvik150 avatar Feb 09 '25 05:02 souvik150

Can i get assigned this issue?

iihimanshuu avatar Mar 05 '25 17:03 iihimanshuu

Hello! I’m new to open source but eager to learn and contribute. I’d like to work on this issue.

Bhavna1312 avatar Mar 15 '25 18:03 Bhavna1312

Hello! I'm new to open source and i would like to work on this issue

SarthakB-06 avatar Nov 18 '25 18:11 SarthakB-06

Hello i am new to open source and i would like to work on this issue

ghuleomkar avatar Dec 10 '25 07:12 ghuleomkar

Hi, I'm new to open source and I'd like to work on this issue.

Roronoa-santhosh avatar Dec 15 '25 13:12 Roronoa-santhosh

Hello i am new to open source and i would like to work on this issue

codeboy-pro avatar Dec 21 '25 14:12 codeboy-pro

Hi 👋
I’m a beginner contributor and would like to work on this issue.
Is it still valid, and can you please assign it to me or guide me where to start?

finexaakash avatar Dec 22 '25 17:12 finexaakash