Please consider editing your post and mark it as obsolete instead. Do you want to delete post?
HUB, Rest API and regexp
Permanently deleted user
Created
Can I use regexp in the query parameter for additional filtering of the query (using the rest api)? For example, to filter user groups to exclude “team” groups.
I'm Sergey from the Hub team. Thank you for the message.
Regexp is not supported in the query parameter. Yet, the query parameter represents a Hub search query and it has the same syntax with the adjustment for HTML symbols escaping for URIs. So it may be helpful in constructing a query.
In case of excluding groups or teams, we suggest that you just use the corresponding resources: api/rest/projectteams and api/rest/usergroups
Hi!
I'm Sergey from the Hub team. Thank you for the message.
Regexp is not supported in the query parameter. Yet, the query parameter represents a Hub search query and it has the same syntax with the adjustment for HTML symbols escaping for URIs. So it may be helpful in constructing a query.
In case of excluding groups or teams, we suggest that you just use the corresponding resources: api/rest/projectteams and api/rest/usergroups
Please let me know if any questions appear.