I have various Content Types that represent article pages on a site. For the sake of example, I’ll say they’re as follows:
StoryArticle slug SlideShowArticle slug NewsArticle slug
All of these types have a slug field. So when a user loads a page of the site, we need to take the slug and find the corresponding Content.
So for a page of
I’d query the API with the following parameters:
However, doing so requires, per the API docs, that a “content_type” be specified, and I can only provide a single content type.
When querying entries and using search filters based on fields or ordering by fields you must specify this parameter. You can only specify one value for content_type at a time.
Why can I only specify one value for content_type? I know this page could be one of 3 content types, and I’d like to search across all 3, not just one.
How do I work around this?