Panne partielleshare-external
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
Posée il y a environ 5 mois
Réponse sélectionnée
1

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

19 juin, 04:39
Lars