openfoodfacts-dart icon indicating copy to clipboard operation
openfoodfacts-dart copied to clipboard

Why are we still referencing v0 ?

Open teolemon opened this issue 3 months ago • 2 comments

Description

  • Why are we still referencing v0 ?
  • https://github.com/openfoodfacts/openfoodfacts-dart/blob/master/lib/src/utils/product_query_configurations.dart#L18
  • We're getting blasted by those queries, they could at least be v1 or v2 :-)
xxxx - - [14/May/2024:16:11:37 +0000] "GET /cgi/display.pl?api/v0/product/8710496979101.json HTTP/1.0" 200 21111 "-" "Dart/3.2 (dart:io)" 0/15392
xxxx - - [14/May/2024:16:11:38 +0000] "GET /cgi/display.pl?api/v0/product/8710496979101.json HTTP/1.0" 200 21113 "-" "Dart/3.2 (dart:io)" 0/11536
xxxxx - - [14/May/2024:16:11:38 +0000] "GET /cgi/display.pl?api/v0/product/8710496979101.json HTTP/1.0" 200 21113 "-" "Dart/3.2 (dart:io)" 0/13177
xxxxx - - [14/May/2024:16:1

teolemon avatar May 14 '24 16:05 teolemon