Files
openfoodnetwork/engines/dfc_provider
Matt-Yorkley aa9fd682d8 Remove is_master and not_master scopes
(cherry picked from commit 1daab8994d)
2023-06-23 14:16:44 +10:00
..
2023-05-28 10:39:08 +02:00
2020-05-06 22:04:56 +02:00
2023-05-09 16:51:25 +10:00
2023-06-23 14:16:44 +10:00
2023-05-09 16:51:25 +10:00
2021-04-05 20:38:19 +02:00

DfcProvider

This engine is implementing the Data Food Consortium specifications in order to serve semantic data. You can find more details about this on https://github.com/datafoodconsortium.

Basically, it allows an OFN user linked to an enterprise:

  • to serve his Products Catalog through a dedicated API using JSON-LD format, structured by the DFC Ontology
  • to be authenticated thanks to an Access Token from DFC Authorization server (using an OIDC implementation)

The API endpoint for the catalog is /api/dfc_provider/enterprise/prodcuts.json and you need to pass the token inside an authentication header (Authentication: Bearer 123mytoken456).

This feature is still under active development.