MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=smwbrowse
(main | smwbrowse)
- This module requires read rights.
- Source: Semantic MediaWiki
- License: GPL-2.0-or-later
API module to support browse activities for different entity types in Semantic MediaWiki.
Parameters:
- browse
Specifies the type of browse activity
- This parameter is required.
- One of the following values: property, category, concept, page, pvalue, psubject, subject
- params
JSON encoded parameters containing required and optional fields and depend on the selected browse type
- This parameter is required.
Examples:
- api.php?action=smwbrowse&browse=property¶ms={ "limit": 10, "offset": 0, "search": "Date" } [open in sandbox]
- api.php?action=smwbrowse&browse=property¶ms={ "limit": 10, "offset": 0, "search": "Date", "description": true } [open in sandbox]
- api.php?action=smwbrowse&browse=property¶ms={ "limit": 10, "offset": 0, "search": "Date", "description": true, "prefLabel": true } [open in sandbox]
- api.php?action=smwbrowse&browse=property¶ms={ "limit": 10, "offset": 0, "search": "Date", "description": true, "prefLabel": true, "usageCount": true } [open in sandbox]
- api.php?action=smwbrowse&browse=pvalue¶ms={ "limit": 10, "offset": 0, "property" : "Foo", "search": "Bar" } [open in sandbox]
- api.php?action=smwbrowse&browse=psubject¶ms={ "limit": 10, "offset": 0, "property" : "Foo", "value" : "Bar", "search": "foo" } [open in sandbox]
- api.php?action=smwbrowse&browse=category¶ms={ "limit": 10, "offset": 0, "search": "" } [open in sandbox]
- api.php?action=smwbrowse&browse=category¶ms={ "limit": 10, "offset": 0, "search": "Date" } [open in sandbox]
- api.php?action=smwbrowse&browse=concept¶ms={ "limit": 10, "offset": 0, "search": "" } [open in sandbox]
- api.php?action=smwbrowse&browse=concept¶ms={ "limit": 10, "offset": 0, "search": "Date" } [open in sandbox]
- api.php?action=smwbrowse&browse=page¶ms={ "limit": 10, "offset": 0, "search": "Main" } [open in sandbox]
- api.php?action=smwbrowse&browse=page¶ms={ "limit": 10, "offset": 0, "search": "Main", "fullText": true, "fullURL": true } [open in sandbox]
- api.php?action=smwbrowse&browse=subject¶ms={ "subject": "Main page", "ns" :0, "iw": "", "subobject": "" } [open in sandbox]