Add a way to request root entries (without parents) in the taxonomy API #6039
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
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
The text was updated successfully, but these errors were encountered: