Files
openfoodnetwork/engines/dfc_provider
Maikel Linke 2e101c5fe6 Refresh OIDC token and try again
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.
2024-03-15 16:46:41 +11:00
..
2024-03-15 16:46:41 +11:00
2023-11-16 15:52:31 +11:00
2024-03-15 16:46: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: