Hello,
So I am trying to retrieve a list of all media under a category with some subcategories.
For example, I have a parent category, Main which has subcategories child_1, child_2…, child_i, where i = 50, and I want all the media from all subcategories.
To do so I make a media.list request and filter on ‘categoryAncestorIdIn’ using the ID for Main. However, this gives me a peculiar response where the media entries returned are not in any of the subcategories.
Am I just using the wrong filter field here? if so which one should I be using?
Also as a side question is there a way to filter out archived/hidden media?
All help is appreciated!
3 posts - 2 participants