Zurück

GET /api/v1/{entity}

Route source: app/api/v1/[entity]/route.ts. Access: Portal session cookie; tenantContext. Status codes are read from the route implementation.

GET/api/v1/{entity}

Zugang

Die Session-Variable in den Beispielen ist ein Platzhalter. Der Browser setzt das echte Sitzungscookie.

Anfrage

PfadRoute-Details
path · entityrequired · {"type":"string"}
query · limitoptional · {"type":"string"}
query · offsetoptional · {"type":"string"}
query · queryoptional · {"type":"string"}
query · severityoptional · {"type":"string"}

Anfrage-Body laut Handler: keiner.

Synthetisches curl-Beispiel
curl -i -X GET 'https://portal.rfi-irfos.com/api/v1/findings' \
  -H "Cookie: $PORTAL_SESSION_COOKIE"

Antwort

Der Handler liefert JSON. Die Antwortfelder sind im verlinkten Routencode definiert.

200

Die referenzierte Quelldatei enthält die maßgebliche Feldvalidierung und Antwortstruktur.

Fehlercodes

Für diese Methode führt das OpenAPI-Inventar keinen eigenen Fehlerstatus auf.

Beleg im Code

app/api/v1/[entity]/route

Lokaler Index↑ ↓ · Enter · Esc