Problem/Motivation
The following request is working fine in jsonapi 1.x
/jsonapi/field_config/field_config
?filter[special-fields][condition][path]=field_type
&filter[special-fields][condition][operator]=IN
&filter[special-fields][condition][value][]=entity_reference
&filter[special-fields][condition][value][]=datetime
&filter[special-fields][condition][value][]=boolean
&filter[translatable][value]=true
&filter[entity_type][value]=node
&fields[field_config--field_config]=bundle,field_name
But is no longer working in 2.x
The problematic part seems to be related to
?filter[special-fields][condition][path]=field_type
&filter[special-fields][condition][operator]=IN
&filter[special-fields][condition][value][]=entity_reference
&filter[special-fields][condition][value][]=datetime
&filter[special-fields][condition][value][]=boolean
I checked the jsonapi documentation for filters and it seems the syntax is correct. Is the documentation out of date, or is this a bug?
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Comments
Comment #2
wim leersWhat response do you receive? Knowing that will allow me to help you better, and determine whether it’s a bug.
Comment #3
dagmar@Wim Leers. Thanks for your response. I get an empty data array
Comment #4
wim leersHm … weird, because your exact query works just fine for me, on a fresh D8 install with Umami + JSON:API:

I suspect this is a user agent/URL handling problem, because I can get this from the command line:
In this case, only the first
?filter[…SOMETHING…]parameter actually reaches the server. Note how the response looks exactly like yours!Comment #5
dagmarThanks @Wim Leers. I'm sorry I was trying a different endpoint and indeed that endpoint should return an empty array in my case. Sorry about the confusion.
Comment #6
wim leersGreat! And no worries :)