There is mwapi:generator "categorymembers";
for files/pages directly in a category but how to see files/pages directly in a category or any of its subcategories like it's possible with the deepcategory search operator on Commons?
Topic on Talk:Wikidata Query Service/User Manual/MWAPI
Appearance