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

Better API support for protected products #2012

Open
Tracked by #5523
aleene opened this issue Jun 26, 2019 · 2 comments
Open
Tracked by #5523

Better API support for protected products #2012

aleene opened this issue Jun 26, 2019 · 2 comments
Labels
🧽 API - Quality API READ All READ APIs include Product, Search… API Issues related to the Open Food Facts API. More specific labels exist & should be used (API WRITE…) 🧽 Data quality https://wiki.openfoodfacts.org/Quality ✨ Feature Features or enhancements to Open Food Facts server protected data

Comments

@aleene
Copy link
Contributor

aleene commented Jun 26, 2019

Is your feature request related to a problem? Please describe.
An API user can not determine and react on protected products.

Describe the solution you'd like
Add a protected state to the product json. And if needed specify which fields are protected. If the info is in the product json, we can prohibit editing those fields.

If a protected product is written return with an error json, so the api user sees what happened and can react on it.

@aleene aleene added the ✨ Feature Features or enhancements to Open Food Facts server label Jun 26, 2019
@VaiTon VaiTon added API Issues related to the Open Food Facts API. More specific labels exist & should be used (API WRITE…) API READ All READ APIs include Product, Search… labels Jun 26, 2019
@VaiTon
Copy link
Member

VaiTon commented Jun 27, 2019

@aleene Could you please post an example URL?

@teolemon teolemon added 🧽 Data quality https://wiki.openfoodfacts.org/Quality 🧽 API - Quality labels Apr 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧽 API - Quality API READ All READ APIs include Product, Search… API Issues related to the Open Food Facts API. More specific labels exist & should be used (API WRITE…) 🧽 Data quality https://wiki.openfoodfacts.org/Quality ✨ Feature Features or enhancements to Open Food Facts server protected data
Projects
Status: To discuss and validate
Development

No branches or pull requests

3 participants