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

Add a way to request root entries (without parents) in the taxonomy API #6039

Closed
stephanegigandet opened this issue Oct 29, 2021 · 0 comments · Fixed by #6232
Closed

Add a way to request root entries (without parents) in the taxonomy API #6039

stephanegigandet opened this issue Oct 29, 2021 · 0 comments · Fixed by #6232
Labels
API Issues related to the Open Food Facts API. More specific labels exist & should be used (API WRITE…) ✨ Feature Features or enhancements to Open Food Facts server 🧬 Taxonomies https://wiki.openfoodfacts.org/Global_taxonomies

Comments

@stephanegigandet
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Needed for apps to offer for instance a category picker where users can navigate in the taxonomy.

Describe the solution you'd like

Add an &include_root_entries=1 option to the existing taxonomy API.

e.g.
https://world.openfoodfacts.dev/api/v2/taxonomy?tagtype=packaging_materials&include_root_entries=1

Describe alternatives you've considered

No response

Additional context

No response

Number of products impacted

No response

Time per product

No response

@stephanegigandet stephanegigandet added ✨ Feature Features or enhancements to Open Food Facts server API Issues related to the Open Food Facts API. More specific labels exist & should be used (API WRITE…) 🧬 Taxonomies https://wiki.openfoodfacts.org/Global_taxonomies labels Oct 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Issues related to the Open Food Facts API. More specific labels exist & should be used (API WRITE…) ✨ Feature Features or enhancements to Open Food Facts server 🧬 Taxonomies https://wiki.openfoodfacts.org/Global_taxonomies
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant