Let's say for example I have multiple movies listed on my contentful backend and I only want a query to return horror movies so I filter by category.
0:fields{
name: "Some horror movie"
category: {sys: {…}, fields: {…}} // fields contains in this example: {name: "horror"}
}
Note that category is a content type itself and has a fields attribute with only a name attribute in there. So I would think I could filter this by doing the following:
client.getEntries({
'content_type': 'movie',
'fields.category.fields.name[match]': 'horror'
})
This returns a 400 error though and I really have no idea why or how to fix this.