API Design experience

From Open Food Facts wiki
Revision as of 08:26, 26 November 2022 by Aleene (talk | contribs) (→‎Introduction)

Introduction

Minimal coding

API Call

Is it possible to streamline the various API calls?

API version number

Add the API version number to each call as a path (Robotoff)

Output

Single Json response

Response wrapper

The wrapper contains the meta data of the response, i.e. whether the request was successful, how many results are available, etc.