openfoodfacts-server
openfoodfacts-server copied to clipboard
Document the Data Check API
Who for
- power contributors
What
- Document the Data Check API
-
<input type="checkbox" id="photos_and_data_checked" name="photos_and_data_checked">
Why
- to allow us to know if someone checked the product recently
Hello, @CharlesNepote I need guidance on how to start with this.
When you edit a product, at the end of the page you will find a way to say "hey, I checked all the data and it's correct". Here is a screenshot:
You can also do this thanks to the API. The issue is that it is not documented. So you have to add a new sub-section in the section 4. WRITE requests. The fact is I don't know how to send a "data checked" by the API. You will have to follow Perl code at https://github.com/openfoodfacts/openfoodfacts-server
Don't hesitate to make API tests with https://world.openfoodfacts.net dev server.
Alright, I’ll be working on it soon. Will get back to you soon
On Thu, 5 May 2022 at 11:52, Charles Nepote @.***> wrote:
When you edit a product, at the end of the page you will find a way to say "hey, I checked all the data and it's correct". Here is a screenshot: [image: image] https://user-images.githubusercontent.com/562352/166907395-9748f9c8-10ba-47fd-93e0-a266a3c690dc.png
You can also do this thanks to the API. The issue is that it is not documented. So you have to add a new sub-section in the section 4. WRITE requests. The fact is I don't know how to send a "data checked" by the API. You will have to follow Perl code at https://github.com/openfoodfacts/openfoodfacts-server
Don't hesitate to make API tests with https://world.openfoodfacts.net dev server.
— Reply to this email directly, view it on GitHub https://github.com/openfoodfacts/openfoodfacts-server/issues/10187, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH4ASUT7DLEII5V62COF3HLVIOR47ANCNFSM5RNXDGKA . You are receiving this because you commented.Message ID: @.***>
Hello, @CharlesNepote I'm confused about what the new sub-section in 'Write Request' will be? is it a ' Get or Post request'?
@teolemon and @CharlesNepote I need help to work on this?