Jump to content

Search API V3: Difference between revisions

m
no edit summary
(Add security note, further API information)
mNo edit summary
Line 74: Line 74:
* [https://openfoodfacts.github.io/api-documentation/#3SEARCHRequests Require documentation]
* [https://openfoodfacts.github.io/api-documentation/#3SEARCHRequests Require documentation]
* [https://github.com/openfoodfacts/openfoodfacts-server/tree/111e0afdbac3c20ea34652b0b413be58be6dfae5/conf/nginx Need to be exposed in the Nginx configuration]
* [https://github.com/openfoodfacts/openfoodfacts-server/tree/111e0afdbac3c20ea34652b0b413be58be6dfae5/conf/nginx Need to be exposed in the Nginx configuration]
* Be prefixed with ''/v3'' (redirecting at the Nginx layer)


The proposed API definition is below. Note that the requests are represented as Python objects as used in FastAPI - in reality, this is a JSON payload:
The proposed API definition is below. Note that the requests are represented as Python objects as used in FastAPI - in reality, this is a JSON payload:
17

edits