Zum Inhalt springen
GET /v1/stretch

Installation stretch

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "note": "Stretch = (mating diameter − o-ring ID) ÷ ID. Keep ID stretch on a rod under ~5 %; stretch thins the cross-section (reducing squeeze), so pick an ID close to the groove. Bore/face seals compress the OD instead.",
        "inputs": {
            "inner_diameter": 1,
            "mating_diameter": 1.03
        },
        "assessment": "good — within the usual ≤ 5 % limit",
        "stretch_percent": 3
    },
    "meta": {
        "timestamp": "2026-06-06T07:13:59.604Z",
        "request_id": "cc36217e-32e5-409b-ae4a-f83a25534b50"
    },
    "status": "ok",
    "message": "Installation stretch",
    "success": true
}