Changes
Jump to navigation
Jump to search
← Older edit
API/Write
(view source)
Revision as of 13:46, 5 September 2023
327 bytes added
,
13:46, 5 September 2023
no edit summary
Line 5:
Line 5:
<big>First of all, remember to do tests on https://world.openfoodfacts.net - login and password: off.
<big>First of all, remember to do tests on https://world.openfoodfacts.net - login and password: off.
+
+
<big>The new version of the documentation is available here:
+
* [https://openfoodfacts.github.io/openfoodfacts-server/reference/api/ API V2 - new OpenAPI documentation] - Work in Progress
+
* [https://openfoodfacts.github.io/openfoodfacts-server/reference/api-v3/ API V3 - new OpenAPI documentation] - Work in Progress
</big>
</big>
Line 165:
Line 169:
</pre>
</pre>
−
This '''
add
''' a new value but '''doesn't delete the previous ones'''. Adding values doesn't need authentication but take it into account. Examples:
+
This '''
adds
''' a new value but '''doesn't delete the previous ones'''. Adding values doesn't need authentication but take it into account. Examples:
* <code><nowiki>https://world.openfoodfacts.net/cgi/product_jqm2.pl?code=0048151621226&add_brands=Brand%202</nowiki></code>
* <code><nowiki>https://world.openfoodfacts.net/cgi/product_jqm2.pl?code=0048151621226&add_brands=Brand%202</nowiki></code>
Line 440:
Line 444:
12% wine
12% wine
−
<pre>
nutriment_unit
=%25%20vol&nutriment_alcohol=12</pre>
+
<pre>
nutriment_alcohol_unit
=%25%20vol&nutriment_alcohol=12</pre>
==== Adding the carbon footprint ====
==== Adding the carbon footprint ====
Raphael0202
Bureaucrats
,
Interface administrators
,
Suppressors
,
Administrators
93
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Log in
Open Food Facts galaxy
Where am I?
Open Food Facts website
Open Food Facts wiki
Main page
Recent changes
Random page
Open Beauty Facts wiki
Main page
Whole wiki
Help about MediaWiki
Icons in the wiki
Tools
Special pages
Printable version
Admins
Edit sidebar
Styling
Replace text
Special Pages