Zum Inhalt springen
GET /v1/printexposure

Enlarger exposure by magnification

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/darkroom-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/darkroom-api/v1/printexposure" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/darkroom-api/v1/printexposure", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/darkroom-api/v1/printexposure");
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/darkroom-api/v1/printexposure",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "When you raise the enlarger head for a bigger print the light spreads out, so exposure ∝ (magnification + 1)² (magnification = print size ÷ negative size). Adjust by the stops shown using your timer's f-stop mode, then fine-tune with a test strip — paper and focus drift matter too.",
        "inputs": {
            "old_time_seconds": 10,
            "new_magnification": 4,
            "old_magnification": 2
        },
        "stops_change": 1.47,
        "exposure_ratio": 2.778,
        "new_time_seconds": 27.78
    },
    "meta": {
        "timestamp": "2026-06-06T15:30:47.099Z",
        "request_id": "981d4382-06a1-4593-8884-73e54153ee3f"
    },
    "status": "ok",
    "message": "Enlarger exposure",
    "success": true
}