-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
Coordinate with the server to integrate the new moderation experience #885
Comments
@monsieurtanuki the API doc has just been deployed by @raphael0202 |
@g123k @monsieurtanuki NutriPatrol is now live in production Tickets only available to moderators We can do it in two times, integrate as links to webviews, then integrate natively at a later point. All the more that integrations need to be done at several places, and that's some work: openfoodfacts/smooth-app#5390 |
@g123k ping |
Oh, I hadn't understood that nutripatrol couldn't be used as an API for the moment (e.g. "Login with your OpenFoodFacts account" when I click on https://nutripatrol.openfoodfacts.org/flag/product?barcode=3017620422003&source=web&flavor=off and there's no matching API |
@monsieurtanuki I'm not sure to understand, Nutripatrol can be used as API: |
@raphael0202 Fair enough. I guess I clicked on the first link provided, which opened a HTML page. |
Could you assign me this issue please ? |
What
The new moderation tool is about to be deployed. Will update this as a backend is finalized
https://nutripatrol.openfoodfacts.org/api/docs
API Endpoints for the new moderation experience
Data Models
Flag: Represents a flag raised by a user on a product or image.
Ticket: Represents a ticket associated with a flag, containing details about the issue.
Additional Notes:
The client should support validation of user input and error handling.
Authentication mechanisms should be implemented to restrict access to specific functionalities.
PoC @raphael0202 + Valentin
https://github.com/openfoodfacts/nutripatrol
https://github.com/openfoodfacts/nutripatrol/blob/main/app/api.py
Part of
The text was updated successfully, but these errors were encountered: