What is the right URL to retrieve posts by meta_query with the WP-REST-API?
The custom field I want to use can contain multiple values, I tried this for custom field which only can contain a single value and this works.
wp-json/posts?format=json&filter[meta_key]=content_type&filter[meta_value]=2
But I can’t get it work with a custom field which can contain multiple values (array/object). Anyone?
You need the ACF to REST API plugin. In addition to that, you need to make a few customizations such as:
See https://github.com/airesvsg/acf-to-rest-api/issues/122#issuecomment-291913932