Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

References

Suzanne Favot edited this page Aug 13, 2018 · 2 revisions

References API

references - GET

Returns a list of references used through the entire project (both client and API). Returns 200 if everything went well, 401 if no valid token is provided.

Response format:

{
    "frenchRegions": ["Alsace", "Beaujolais"…], // List of french regions
    "designations": { // List of wine designations, grouped by countries and regions
        "FR": {
            "Bourgogne": ["Bourgogne aligoté"…],
            "Alsace": ["Gewurtraminer"…],
        }
    },
    "varietals": ["Abondant", "Abouriou", "Albarino"…] // List of all varietals
}
Clone this wiki locally