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

changeset filter is not usable with /contributions/geometry endpoint #305

Closed
joker234 opened this issue Jul 25, 2023 · 0 comments · Fixed by #306
Closed

changeset filter is not usable with /contributions/geometry endpoint #305

joker234 opened this issue Jul 25, 2023 · 0 comments · Fixed by #306
Assignees
Labels
bug Something isn't working

Comments

@joker234
Copy link
Member

Bug Description

A clear and concise description of what the bug is.

General Information

Please include the following general information about the issue and list any additional steps needed to reproduce the bug.

  • Version of the ohsome API 1.9.1
  • Which API instance was requested: https://api.ohsome.org/v1
  • Affected endpoint(s) /contributions/geometry
  • URL of your request:
curl -X GET "https://api.ohsome.org/v1/contributions/geometry?bboxes=-73.4640383%2C45.7144491%2C-73.2667388%2C45.8722908&clipGeometry=true&filter=changeset%3A9547181&properties=tags&time=2011-10-01%2C2011-11-01" -H  "accept: application/json"
  • Used HTTP method: GET, but shouldn't matter
  • Utilized tool/library for the request: cURL, but shouldn't matter

Expected Behaviour

Be able to execute the query with the given filter or give an error message that doesn't imply that this is supported.

Further Information

Result

{
  "timestamp" : "2023-07-25T15:02:36.595371446",
  "status" : 400,
  "message" : "Invalid filter: The changeset filters can only be used in contribution based API endpoints. Please look at the additional info and examples about the filter parameter at https://docs.ohsome.org/ohsome-api.",
  "requestUrl" : "https://api.ohsome.org/v1/contributions/geometry?bboxes=-73.4640383%2C45.7144491%2C-73.2667388%2C45.8722908&clipGeometry=true&filter=changeset%3A9547181&properties=tags&time=2011-10-01%2C2011-11-01"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

Successfully merging a pull request may close this issue.

2 participants