MediaWiki API súgó

Ez egy automatikusan generált MediaWiki API-dokumentációs lap.

Dokumentáció és példák: https://www.mediawiki.org/wiki/API

action=smwbrowse

(main | smwbrowse)
  • Ez a modul olvasási jogot igényel.
  • Forrás: Semantic MediaWiki
  • Licenc: GPL-2.0-or-later

API module to support browse activties for different entity types in Semantic MediaWiki.

Paraméterek:
browse

Specifies the type of browse activity

Ez a paraméter kötelező.
A következő értékek egyike: property, category, concept, page, pvalue, psubject, subject
params

JSON encoded parameters containing required and optional fields and depend on the selected browse type

Ez a paraméter kötelező.
Példák:
api.php?action=smwbrowse&browse=property&params={ "limit": 10, "offset": 0, "search": "Date" } [open in sandbox]
api.php?action=smwbrowse&browse=property&params={ "limit": 10, "offset": 0, "search": "Date", "description": true } [open in sandbox]
api.php?action=smwbrowse&browse=property&params={ "limit": 10, "offset": 0, "search": "Date", "description": true, "prefLabel": true } [open in sandbox]
api.php?action=smwbrowse&browse=property&params={ "limit": 10, "offset": 0, "search": "Date", "description": true, "prefLabel": true, "usageCount": true } [open in sandbox]
api.php?action=smwbrowse&browse=pvalue&params={ "limit": 10, "offset": 0, "property" : "Foo", "search": "Bar" } [open in sandbox]
api.php?action=smwbrowse&browse=psubject&params={ "limit": 10, "offset": 0, "property" : "Foo", "value" : "Bar", "search": "foo" } [open in sandbox]
api.php?action=smwbrowse&browse=category&params={ "limit": 10, "offset": 0, "search": "" } [open in sandbox]
api.php?action=smwbrowse&browse=category&params={ "limit": 10, "offset": 0, "search": "Date" } [open in sandbox]
api.php?action=smwbrowse&browse=concept&params={ "limit": 10, "offset": 0, "search": "" } [open in sandbox]
api.php?action=smwbrowse&browse=concept&params={ "limit": 10, "offset": 0, "search": "Date" } [open in sandbox]
api.php?action=smwbrowse&browse=page&params={ "limit": 10, "offset": 0, "search": "Main" } [open in sandbox]
api.php?action=smwbrowse&browse=page&params={ "limit": 10, "offset": 0, "search": "Main", "fullText": true, "fullURL": true } [open in sandbox]
api.php?action=smwbrowse&browse=subject&params={ "subject": "Main page", "ns" :0, "iw": "", "subobject": "" } [open in sandbox]