Query rules from API #779
Unanswered
renatomotorline
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hi @renatomotorline , Currently, query is not supported for rules API. The only way I can think of is to get all rules and filter as what you already pointed out. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Is possible to query the rules from the API?
Example: I have an external API with multiple users creating rules, each rule id is "$user_id-$rule_number".
I want to get only the user rules. Is any way to do this?
From the documentation (https://github.com/emqx/kuiper/blob/master/docs/en_US/restapi/rules.md) I understand that is only possible to get all. I can get all and filter the response but if I have many rules this will affect the performance.
Beta Was this translation helpful? Give feedback.
All reactions