openfoodfacts / power-user-script

User script for your browser, to empower Open Food Facts contribution
GNU Affero General Public License v3.0
12 stars 5 forks source link

JSON data for a revision #78

Open CharlesNepote opened 1 year ago

CharlesNepote commented 1 year ago

When asking for JSON data of product (keyboard shortcut a), it always displays the last version of the product.

When opening an old version of a product, it would be interesting to open the JSON related to this version. Eg. https://world.openfoodfacts.org/product/0745110441465/natives-olivenol-extra-bio-olivenolbande?rev=8 https://world.openfoodfacts.org/api/v0/product/0745110441465.json?rev=8