datacommonsorg/mixer

[BUG] API documentation for node/property-values describes incorrect default for "direction".

jehangiramjad opened this issue · 0 comments

Describe the bug
The API documentation for node/property-values states that the default for "direction" is "up". This is incorrect and the behavior is that the default (when direction is unspecified or empty) is bi-directional.

To Reproduce
API documentation: https://endpointsportal.datacommons.org/docs/api.datacommons.org/g/routes/node/property-values/get

Current behavior (bi-directional): https://api.datacommons.org/node/property-values?dcids=geoId/06085&valueType=City&property=containedInPlace&limit=1&direction

Expected behavior
Documentation should state that direction="" or unspecified means the query looks in both directions.