Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jehangiramjad opened this issue Feb 24, 2022 · 0 comments
Assignees

Comments

@jehangiramjad
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants