Open VladimirAlexiev opened 4 years ago
If reconciliation-api/specs#55 makes it way to the specs, then I'd leave the modeling on Wikidata as it is. If the accepted parameters are exposed by the service manifests directly, then we should not need a redundant modeling on Wikidata's side. The testbench could potentially be adapted to display these variants after fetching the manifests (and let users fill particular values for them when testing the endpoint interactively).
Moving this issue to the testbench repository (let's see if links to issues are preserved). Edit: it seems to have worked great!
The "gazillion" URLs represent a usability problem, so I think effort would be better spent on fixing it, rather than accommodating it.
(related to reconciliation-api/specs#52 and reconciliation-api/specs#55)
https://reconciliation-api.github.io/testbench/ shows lang-specific URLs for the first two services.
How to indicate endpoint URL variation by a fixed param? I imagine it as an extra column Varies By in the table.
How to express this in Wikidata? URL templates are called formatters in WD. I looked at available props, and maybe https://www.wikidata.org/wiki/Property:P8183 is what we need. The data needs to be restructured as follows: