mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-20 04:59:16 +00:00
Access tokens are only valid for half an hour. So if requesting a DFC API fails, it's likely due to an expired token and we refresh it.
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: