Reconciliation API modules: recon-suggest-propvalue

From CODECS Dev
Service for suggesting property values on the basis of the provided property name and substring. This service is not covered by the Reconciliation API specifications.

Parameters

API documentation

Parameter name
Description
source
Currently supports smw (Semantic MediaWiki) only.
profile
Is not currently configurable through a profile.
substr
The substring to autocomplete on.
substrpattern
Match pattern.
property
The property to retrieve values from.
offset
Result offset.
limit
Result limit.

Development

  • Does not currently support profiles.

Examples from CODECS

Not intended for typeahead search but we can use it here to demonstrate the API:

Testing sitesearch widget...
Dev info. API: https://codecs.vanhamel.nl/api.php?action=recon-suggest-propvalue&origin=%2A&source=smw&property=Has+keyword&substr=
Target URL: https://codecs.vanhamel.nl/Show:Search?phrase=
Footer URL: https://dev.vanhamel.nl/index.php?title=Special:Search&fulltext=1&search=

Notes

  • At least For properties of data type 'Text', id and name are identical. For properties of data type 'Page', there may be an option in the future to work with labels such as display titles.