Filtering Journal Article headless API using category name

How can I filter journal articles by category names?

It seems a basic funzionality,does the api accepts only category IDs?

Yes, you can is indexed as a Collection of Integers identified by 'taxonomyCategoryIds'.

1 Answer

1

Just guessing: categories are hierarchical. So you can find content by searching for a hierarchical “parent” category, even though the content was categorized with a “child” category. Thus you need to know more exactly what youre looking for, and you need to first match the category.

If you want to search by text, categories aren’t a good semantic fit. Tags would be better suited