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
There is no possibility to use 'query' field with methods like channels.list.joined, groups.list, groups.listAll, im.list becase 'query' is not supported. There is a problem to select rooms with specific properties/regex conditions like customFields.
Server Setup Information:
Version of Rocket.Chat Server: 0.61.0-develop on Jan 17, 2018
Operating System: Ubuntu Server
Deployment Method(snap/docker/tar/etc): Local compilation and launch a bundle
Number of Running Instances: 1
DB Replicaset Oplog: Disabled
Node Version: 8.9.4
Steps to Reproduce:
Using REST API:
Create a group with customFields.field1
Provide a 'query' parameter in groups.list request like { "customFields.field1": "aaa-1"}
Check that only channels with "customFields.field1" = "aaa-1" are in the output
The text was updated successfully, but these errors were encountered:
xbolshe
changed the title
'Query' field does not fork with channels.list.joined, groups.list, groups.listAll, im.list
'Query' field does not work with channels.list.joined, groups.list, groups.listAll, im.list
Jan 17, 2018
Hello Devs,
Still I'm not getting the expected result of this , I'm trying to pass the query parameter for this https://ctsichat.mvoipctsi.com/api/v1/groups.list?query= { "customFields.field1": { "$regex": "Coders"}} to filter the list of group but all groups are getting in the response , so using this query I expecting below result,
@sachinrkeche It seems you use Rocket.Chat version 0.59.4.
If you did not modify it, it does not work with groups.list query and returns all groups as expected.
Description:
There is no possibility to use 'query' field with methods like channels.list.joined, groups.list, groups.listAll, im.list becase 'query' is not supported. There is a problem to select rooms with specific properties/regex conditions like customFields.
Server Setup Information:
Steps to Reproduce:
Using REST API:
The text was updated successfully, but these errors were encountered: