Vai al contenuto
GET /v1/meta

Spec

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/catering-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/catering-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/catering-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/catering-api/v1/meta");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/catering-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "notes": "US units (pounds, 12-oz beers, 750 ml bottles). Rules of thumb — adjust for the crowd, the season and whether it's a full meal. Round up; running out is worse than leftovers.",
        "service": "catering-api",
        "endpoints": {
            "GET /v1/food": "Main protein, sides, appetizers and rolls for a guest count and appetite.",
            "GET /v1/meta": "This document.",
            "GET /v1/drinks": "Total drinks, beer (cases/kegs), wine bottles, cocktails, ice and water."
        },
        "description": "Catering & party-planning maths: food and drink quantities for a headcount, with kegs, wine bottles and ice."
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:07.495Z",
        "request_id": "a70ca9f3-2c75-45bb-8037-d261cd61365b"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}