Files
openfoodnetwork/engines/dfc_provider
David Cook afdb044386 Load names from line item where available.
I'm not sure why Arel complained about SQL in the SELECT clause (fields), but not the GROUP BY clause (key_fields). Maybe because it's not susceptible to user injection.

I'm also not sure why I couldn't use the aliases defined in SELECT in the GROUP BY clause, but hey this seems to work.
2026-02-06 12:17:03 +11:00
..
2025-10-10 16:18:22 +11:00
2024-11-29 16:16:42 +11:00
2025-02-13 10:50:41 +11:00
2023-07-03 13:25:55 +10:00

Data Food Consortium API for the Open Food Network app (OFN DFC API)

This engine implements the Data Food Consortium specifications. It serves and reads semantic data encoded in JSON-LD.

The API is documented with Swagger at /api-docs. You can update these docs with:

./script/rswag engines/dfc_provider

More documentation by the Data Food Consortium: