API Design experience: Difference between revisions

From Open Food Facts wiki
No edit summary
Line 1: Line 1:
== Introduction ==
== Introduction ==
Minimal coding
== API Call ==
== API Call ==
Is it possible to streamline the various API calls?
Is it possible to streamline the various API calls?

Revision as of 08:26, 26 November 2022

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.