Zum Inhalt springen
GET /v1/meta

Spec

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/farkle-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/farkle-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/farkle-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/farkle-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/farkle-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "notes": "Dice 1–6, up to six. 1=100, 5=50; three of a kind face×100 (1s=1000); 4/5/6-of-a-kind 1000/2000/3000; straight or three pairs 1500; two triplets 2500. 'all_dice_score' tells you if every die counted (a hot dice). Scores a roll; does not roll.",
        "service": "farkle-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/score": "Score 1–6 dice and report the breakdown and whether it's a farkle."
        },
        "description": "Farkle (Zilch / Ten Thousand) dice scoring: score a set of up to six dice and flag a farkle."
    },
    "meta": {
        "timestamp": "2026-06-06T15:30:50.880Z",
        "request_id": "d2fb5442-688f-4c64-bdfe-827fd1d4d19e"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}