Naar de inhoud
GET /v1/printexposure

Enlarger exposure by magnification

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/darkroom-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}