/v1/rotate
Rotate a 3D vector
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/quaternion-api/v1/rotate" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/quaternion-api/v1/rotate", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/quaternion-api/v1/rotate");
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/quaternion-api/v1/rotate",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"input_vector": [
1,
0,
0
],
"rotated_vector": [
0,
1,
0
]
},
"meta": {
"timestamp": "2026-06-03T17:42:16.058Z",
"request_id": "89e1a5c1-faa8-444c-b2d5-891cdd838782"
},
"status": "ok",
"message": "Rotate vector",
"success": true
}