API module "browsebyproperty"

From semantic-mediawiki.org
browsebyproperty
Allows to fetch information about a property or a list of properties
Keywords
Further Information
Provided by: Semantic MediaWiki
Deprecated: true
Added: 2.4.0
Removed: still available
This module is deprecated1 and may be removed in a future release of Semantic MediaWiki! Please use API-module "smwbrowse"Allows to search for properties, categories and concepts instead.

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"Lists properties and displays their usage and similar to API-module "smwbrowse"Allows to search for properties, categories and concepts. It was introduced with Semantic MediaWiki 2.4.0Released on 9 July 2016 and compatible with MW 1.19.0 - 1.27.x.2 and deprecated with Semantic MediaWiki 3.0.0Released on 11 October 2018 and compatible with MW 1.27.0 - 1.31.x.1.

The module supports one parameter:

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

Examples[edit]

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. a b  |  Semantic MediaWiki: GitHub pull request gh:smw:2696
  2. ^  Semantic MediaWiki: GitHub pull request gh:smw:1267