mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-10 23:07:47 +00:00
A Spree::Product represented as product group is not directly associated to an enterprise. In theory, it could have multiple enterprises through its variants. So we better don't include the id in the URL. ``` -http://test.host/api/dfc/enterprises/10000/product_groups/90000 +http://test.host/api/dfc/product_groups/90000 ``` This makes it simpler as well.
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: