reconciliation-api / specs

Specifications of the reconciliation API
https://reconciliation-api.github.io/specs/draft/
31 stars 9 forks source link

Make 'query' field in reconciliation queries optional. #53

Closed wetneb closed 3 years ago

wetneb commented 4 years ago

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.

wetneb commented 3 years ago

Merging since this has been open for a long time with no outstanding concerns :)