/v1/capacity
RAID capacity
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
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_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"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
}