Reconciliation API modules: recon-suggest-propvalue
Parameters
source
smw
(Semantic MediaWiki) only.profile
substr
substrpattern
property
offset
limit
Development
- Does not currently support profiles.
Examples from CODECS
- https://codecs.vanhamel.nl/api.php?action=recon-suggest-propvalue&source=smw&property=Textplain&substr=Sea&format=json
- https://codecs.vanhamel.nl/api.php?action=recon-suggest-propvalue&source=smw&property=Display%20title%20of&substr=Mac
- https://codecs.vanhamel.nl/api.php?action=recon-suggest-propvalue&source=smw&property=Belongs%20to&substr=
Not intended for typeahead search but we can use it here to demonstrate the API:
{{#recon-sitesearch: |apiurl=https://codecs.vanhamel.nl/api.php |apiurlparams=action=recon-suggest-propvalue origin=* source=smw property=Has keyword substr= |targeturl=https://codecs.vanhamel.nl/Show:Search?phrase= |dev=true }}
Notes
- At least For properties of data type 'Text',
id
andname
are identical. For properties of data type 'Page', there may be an option in the future to work with labels such as display titles.