Filter /user/accounts based on name
1

Hi,

I'm wondering if this or something similar is something that's possible to do:

me/accounts?fields=name,id&limit=50&filtering=[{ "field": "name", "operator": "LESS_THAN_OR_EQUAL", "value": "G" }]&summary=total_count

So, here, I would try to get all the pages that I have access to, but their name starts with a letter from A to G.

This seems to get ignored by the API (so I still get all the pages), but what makes me wonder if I just misconstructed something in my filtering object, is that if I make something incorrect (like change the "OPERATOR" field to "MY_CUSTOM_OPERATOR", then the API call fails - so graphapi does parse this parameet to some rules, just ignores it? Or am I mistypeing something in the field?

AdamFalcon
Asked about 5 months ago
Selected Answer
1

There are no such operators, please try the docs first. Read the complete response, filter on your end.

June 19 at 4:39 AM
Lars