/v1/meta
Spec
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/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/raid-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/raid-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/raid-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"notes": "Disk size in TB (or any consistent unit for capacity). RAID 5 needs ≥3 disks, RAID 6 ≥4, RAID 10 an even number ≥4. Rebuild speed in MB/s (decimal TB by default).",
"service": "raid-api",
"formulae": {
"raid0": "n·d (tol 0)",
"raid1": "d (tol n−1)",
"raid5": "(n−1)·d (tol 1)",
"raid6": "(n−2)·d (tol 2)",
"raid10": "(n/2)·d (tol ≥1)"
},
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/compare": "Compare RAID 0/1/5/6/10 for the same disks and size.",
"GET /v1/rebuild": "Rebuild time for a single disk at a given rebuild speed.",
"GET /v1/capacity": "Usable/raw capacity, efficiency and fault tolerance for a RAID level."
},
"description": "RAID array calculator: usable capacity, fault tolerance and efficiency by level, a level comparison, and disk-rebuild time."
},
"meta": {
"timestamp": "2026-06-04T18:38:13.797Z",
"request_id": "6ac034e5-b56d-439b-852c-d43e4d4e4d10"
},
"status": "ok",
"message": "Meta",
"success": true
}