/v1/meta
Spec
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/cabletray-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cabletray-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cabletray-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/cabletray-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"notes": "Inches, in². NEC 392.22(A)(1) ladder/ventilated, ≤4/0: allowable area = width×7/6; ≥4/0: Σdiameters ≤ width; min width = area×6/7. Solid-bottom trays use other columns. For conduit/box fill use a conduit API.",
"service": "cabletray-api",
"endpoints": {
"GET /v1/fill": "Allowable fill area and % for ≤4/0 cables in a ladder/ventilated tray.",
"GET /v1/meta": "This document.",
"GET /v1/min-width": "Minimum and next standard tray width for a cable bundle.",
"GET /v1/large-cable": "Single-layer diameter check for ≥4/0 cables."
},
"description": "Cable-tray fill maths (NEC 392.22): allowable fill for small cables, single-layer check for large cables, and minimum tray width."
},
"meta": {
"timestamp": "2026-06-07T08:18:04.739Z",
"request_id": "565a21ca-7f58-4ef0-9299-5e9bcbcaf3fc"
},
"status": "ok",
"message": "Meta",
"success": true
}