support of filter in group search

106
1
01-05-2022 10:33 AM
ZhenQian
New Contributor

According to the Search reference in ArcGIS REST APIfilter (i.e. defined in filter parameter) should be used instead of query".

However, it looks like the groups.search function inside ArcGIS API for Python only supports query search. I cannot find a way to do the filter search for ArcGIS groups.

Any suggestions?

Thanks,

-Zhen

0 Kudos
1 Reply
AdminGIS2
New Contributor III

You are correct there is no filter parameter for the Python REST API group search function: 

https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.Group.search 

You can either employ the query parameter instead, or query the ArcGIS Rest API directly using the requests module, for example. 

0 Kudos