Skip to content

openfoodfacts_proxy.routes.cgi.reference

source module openfoodfacts_proxy.routes.cgi.reference

Functions

source async search_legacy(request: Request, search_terms: str | None = Query(None), code: str | None = Query(None), brands: str | None = Query(None, alias='tagtype_0'), page: int = Query(1), page_size: int = Query(24), json: int = Query(1))Response

Serve legacy search locally when supported and proxy the rest upstream.

source async search_legacy_post(request: Request)Response

Proxy legacy CGI POST search explicitly without write-through reconciliation.

source async product_image_upload(request: Request)Response

source async ingredients(request: Request)Response

source async ingredients_post(request: Request)Response

source async packaging_post(request: Request)Response

source async product_image_crop_get(request: Request)Response

source async product_image_crop_post(request: Request)Response

source async product_image_unselect(request: Request)Response

source async product_jqm2(request: Request)Response

source async suggest(request: Request)Response

source async nutrients(request: Request)Response

source async session(request: Request)Response

source async auth(request: Request)Response

Proxy legacy CGI authentication explicitly without write-through reconciliation.

source async user(request: Request)Response

Proxy legacy CGI user registration explicitly without write-through reconciliation.

source async reset_password(request: Request)Response

Proxy legacy CGI password reset explicitly without write-through reconciliation.

source async redirect_unhandled_cgi(request: Request, path: str)Response