MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=semanticschemas-hierarchy
(main | semanticschemas-hierarchy)
- This module requires read rights.
- Source: SemanticSchemas
- License: GPL-3.0-or-later
Specific parameters:
Other general parameters are available.
- category
Category name to retrieve hierarchy for (with or without 'Category:' prefix)
- This parameter is required.
- parents
Optional: Parent categories for virtual hierarchy preview (for form preview mode). Pipe-separated list.
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
Examples:
- Get hierarchy for PhDStudent category
- api.php?action=semanticschemas-hierarchy&category=PhDStudent [open in sandbox]
- Get hierarchy for GraduateStudent category (with prefix)
- api.php?action=semanticschemas-hierarchy&category=Category:GraduateStudent [open in sandbox]
- Get virtual hierarchy preview with specified parents
- api.php?action=semanticschemas-hierarchy&category=NewCategory&parents=Faculty|Person [open in sandbox]