API module "BrowseByProperty"

From semantic-mediawiki.org
Jump to: navigation, search
BrowseByProperty
Allows to allows to fetch a list of available properties or search for an individual property
Keywords
Further Information
Provided by: Semantic MediaWiki
Added: 2.4.0
Removed: still available

The "BrowseByProperty" API module allows you to to fetch a list of available properties or search for an individual property via action "browsebyproperty" (?action=browsebyproperty) against Semantic MediaWiki using the MediaWiki API and get results back serialized in one of the supported formats. This module is the equivalent to special page "Properties". It was introduced with Semantic MediaWiki 2.4.0.1

The module supports one parameter:

  1. "property": The title of the property to be queried

Examples

single property
../api.php?action=browsebyproperty&property=Modification_date
run example
list of properties
../api.php?action=browsebysubject&subject=Help:SMW_-_Number_of_downloads&subobject=SFS-2012-10
run example

References

  1. ^  Semantic MediaWiki: GitHub pull request: gh:smw:1267