Files
openfoodnetwork/engines/dfc_provider
Maikel Linke 526069dbb3 Limit enterprise image sizes on DFC API
Uploaded images can be several MB in size. While offering the big size
would enable other apps to resize it and store the image size they need,
we have only one app using it in practice and it's using the image
directly. It's much simpler and if a default size will work for others
in the future then why not just serve that.

We can revise this in the future. There is a DFC discussion about
publishing several sizes which I started:
https://github.com/datafoodconsortium/ontology/discussions/77#discussioncomment-8228094
2024-03-19 12:26:23 +11:00
..
2023-11-16 15:52:31 +11:00
2024-03-15 12:17:48 +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: