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

Refine API parameters: replace parent with combination of region & level #7

Open
simonwoerpel opened this issue Nov 28, 2019 · 0 comments
Labels
enhancement New feature or request GenesAPI

Comments

@simonwoerpel
Copy link
Member

  • drop the parent parameter
  • make the level parameter array-like to get trees

examples:

region=01,03&level=3 - get all districts ("Kreise") from "Bundesländer" 01 and 03
region=01,03&level=1: - get complete tree starting from "Bundesländer" level
region=01,03&level=1:3 - get tree excluding lau level
region=01001&level=:3 - get upwards tree starting from district 01001
region=02&level=2,4 - get all "stat. Regionen" and "Gemeinden" for "Bundesland" 02

@P3nny P3nny added the enhancement New feature or request label Sep 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request GenesAPI
Projects
None yet
Development

No branches or pull requests

3 participants