You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I look at the list of all products filtered by a particular property, I would like to get the value for each product. Currently, the API only returns the product code, the number of keys (always 1 when filtering by a property), the editors and the last edit date:
Description
When I look at the list of all products filtered by a particular property, I would like to get the value for each product. Currently, the API only returns the product code, the number of keys (always 1 when filtering by a property), the editors and the last edit date:
Usages:
Implementation
Suggestion 1
The call shouldn't change, eg. https://api.folksonomy.openfoodfacts.org/products?k=packaging:character
The resulting JSON should be like that:
Suggestion 2
The current call of products filtered by a key also have drawbacks:
"keys": 1
for each product"editors": 1
for each productThere could be another route like: https://api.folksonomy.openfoodfacts.org/key/packaging:character
which could return fewer things:
The text was updated successfully, but these errors were encountered: