-
Notifications
You must be signed in to change notification settings - Fork 10.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not exec 'User List' query API #8916
Comments
Hi @timiil you need to use the --data-urlencode option to specify the query parameters as well as ensure that curl processes the request as a GET (-G). Here is an example of a curl query that works.
|
Yes, the query param expects a valid json object to be passed. |
@Rusty-1 , as your above code , your query condition is not effect. either online or offline has come ... thanks for your reply |
On https://developer.rocket.chat/api/rest-api/query-and-fields-info, it's mentioned:
However, if you issue something like (with an Admin token):
You'll get all the fields, not only Or is it something that relates with the word "all" in the sentence in https://developer.rocket.chat/api/rest-api/methods/users/list ?
|
Description:
i am trying to query users with some simple condition, just like 'all active users'.
when i try to #1:
that is ok. no error, just return the full users list.
#2 shot:
#3 shot:
please let me know what is the correct manner about the query string, thanks very much!
Server Setup Information:
The text was updated successfully, but these errors were encountered: