Hi! I’m trying to use RSQL filtering on the analyt...
# gooddata-cn
t
Hi! I’m trying to use RSQL filtering on the analytics dashboards endpoint as described in the docs. I want to use a wildcard when filtering by title, however, I’m getting empty results back, when I use a wildcard. Am I doing something wrong or is this a bug? Thanks. Example:
/api/v1/entities/workspaces/{workspaceId}/analyticalDashboards?filter=title%3D%3Dfoobar
- returns a result with ‘foobar’ dashboard in
/api/v1/entities/workspaces/{workspaceId}/analyticalDashboards?filter=title%3D%3Dfoo*
- returns empty array
/api/v1/entities/workspaces/{workspaceId}/analyticalDashboards?filter=title%3D%3D*foo*
- return empty array
j
@Tomáš Gajdoš If you’re using a wildcard, you need to use the like expression. Example:
userGroups.id%3Dlike%3Dadmin*roup
Instead of == as
%3D%3D
, you should use =like= as
%3Dlike%3D
t
ah, perfect, thanks! I was going off of the examples in the linked repo where they use == with wildcard.
j
Yes, I tried that as well. I am not happy with that repo’s README file.