/v1/capacity
RAID capacity
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/raid-api/v1/capacity" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/raid-api/v1/capacity", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/raid-api/v1/capacity");
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/raid-api/v1/capacity",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "Usable = data disks × disk size; the rest is parity or mirror. Fault tolerance is how many disks can fail without data loss.",
"inputs": {
"disks": 6,
"level": "RAID 5",
"disk_size": 4
},
"raw_capacity": 24,
"minimum_disks": 3,
"usable_capacity": 20,
"efficiency_percent": 83.3333,
"fault_tolerance_disks": 1
},
"meta": {
"timestamp": "2026-06-04T18:38:13.449Z",
"request_id": "6253a25f-5d5a-4846-83ae-a35e2bd7c234"
},
"status": "ok",
"message": "RAID capacity",
"success": true
}