/v1/meta
Spec
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/winch-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/winch-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/winch-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/winch-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": "Inches (drum/rope), feet (rope). capacity = Σ turns·π·mean-dia per layer; turns/layer = width/rope; layers = (flange−barrel)/2/rope; pull = bare-pull·(first-layer dia/this-layer dia). For capstan friction use a capstan API; for block-and-tackle a pulley API.",
"service": "winch-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/capacity": "Rope capacity, layers and turns from the drum and rope size.",
"GET /v1/layer-pull": "Effective line pull and speed at a wrap layer.",
"GET /v1/length-at-layer": "Rope length wound at a number of full layers."
},
"description": "Winch / cable-drum maths: rope capacity by layer geometry, line pull and speed by layer, and rope length at a layer."
},
"meta": {
"timestamp": "2026-06-07T08:17:57.227Z",
"request_id": "c54a74e0-1a1f-43f6-8a5b-5e48ee68acef"
},
"status": "ok",
"message": "Meta",
"success": true
}