This just makes it possible to send queries such as {"properties":[{"pid":"my_id", "v":"394adf1ffb03"}]}, where no "query" for the name is supplied. It seems fairly straightforward as far as the specs are concerned (that does not mean I have a clear picture of how this should be exposed in OpenRefine).
Another way to do this would be to move the existing "query" field into the "properties" array, by giving it a dedicated "pid" in the specs, but that seems less backwards-compatible, more verbose and offering no particular benefit.
Fixes #27.
This just makes it possible to send queries such as
{"properties":[{"pid":"my_id", "v":"394adf1ffb03"}]}
, where no"query"
for the name is supplied. It seems fairly straightforward as far as the specs are concerned (that does not mean I have a clear picture of how this should be exposed in OpenRefine).Another way to do this would be to move the existing
"query"
field into the"properties"
array, by giving it a dedicated"pid"
in the specs, but that seems less backwards-compatible, more verbose and offering no particular benefit.