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/sewing-api

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "notes": "Imperial inches in, yards and metres out. Defaults: 44\" quilting cotton / 54\" home-dec fabric, 2× curtain fullness, 2.5\" binding. Add pattern-repeat allowance for prints. A planning aid.",
        "service": "sewing-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/binding": "Quilt binding strip length and fabric from the quilt perimeter.",
            "GET /v1/curtain": "Curtain fabric: drops, cut length and total from window width and fullness.",
            "GET /v1/yardage": "Fabric length to cut N pieces of a size from a bolt of a width."
        },
        "description": "Sewing & fabric maths: fabric yardage for cut pieces, curtain fabric with fullness, and quilt binding."
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:09.952Z",
        "request_id": "19d91fb9-f0c0-4cdd-b453-f1187357043d"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}