FCT EMS Cloud API: using filters in Python's request.get
Hello,
I'm trying to use the filters object by group name using request.get (Python) via the FCT EMS Cloud API (see FortiClient EMS - FortiAPI - FNDN (fortinet.net)). So far I can't get it to work properly: if I run the following code (below is just the relevant get request of the code), the request gets authenticated and runs through. But the returned result still contain the index of all endpoint entries. Means, the filter setting seems note to be recognised for whatever reason. Please not that I've tried both 'group' as well as 'group_name' as key. Makes no difference.
Any example or idea from anybody?
Thanks a lot!
---- 8<-- code snipped-----
<...>
---- \-- code snipped-----
BTW, if I use a json object for the filter definition to pass to the params of the request method I get the a value error of "ValueError: not enough values to unpack (expected 2, got 1)":
