Was there a change to Category Web API to return events in child categories?

Hello,

Has there been a change to Category Web API to return events in child categories?

We have Indico integrated to our Contact Management system (CMS). As part of that, we have a process that queries the Category Web API for certain categories and creates/updates a stub record for any events in that category.

We hit an issue where the events in sub-categories have started to be returned when we call the API, we can filter them out but we’re wondering if there was a change to Indico that would have caused this? We are currently on 3.3.4 (and upgrading soon). We’re not sure exactly when this started, but it wasn’t happening in the Summer, so our best guess is that it started with the upgrade to 3.3.4.

FYI … we have “Drafts”, “Templates” and “Preview” categories (with more restricted access) as child categories and we don’t want the events in those categories copied to the CMS until they are moved to the main folder. Luckily we filter by date range, so our template conferences (i.e. with all the default registration types pre-configured) haven’t been copied to the CMS.

Note: I have confirmed that “Allow flat view” is off in the category (I thought that might be the reason).

Thanks in advance for any help,
Dustin.

Event from subcategories have always been returned by the /export/categ/... endpoint.

However, it honors the “visibility” setting which indicates how far up contents from a category or even specific events are visible. Maybe someone changed that?

“Allow flat view” has nothing to do with it.

Thanks that’s super helpful!

One follow-up question, how does the Visibility setting on the Category interact with the setting on the Event? Is it the most specific one that takes effect?

i.e. if you have Cat 1 (visible everywhere) → Cat 2 (from category) → Event A (visible from everywhere) does that mean the event is visible in Cat 1, even though the setting for the category it’s direct category is more restricted?

Thanks again.

Event visibility is limited by category visibility. So Event A should only be visible up to Cat 2. IIRC we display this information on the event’s protection management page.