POST /api/v1/integrations
Route source: app/api/v1/integrations/route.ts. Access: Portal session cookie; tenantContext. Status codes are read from the route implementation.
POST
/api/v1/integrationsZugang
Die Session-Variable in den Beispielen ist ein Platzhalter. Der Browser setzt das echte Sitzungscookie.
Anfrage
JSON-Body gemäß Validierung im Route-Code
| Pfad | Route-Details |
|---|---|
query · resourceLimit | optional · {"type":"string"} |
The accepted fields and validation are implemented in app/api/v1/integrations/route.ts.
Synthetisches curl-Beispiel
curl -i -X POST 'https://portal.rfi-irfos.com/api/v1/integrations' \
-H "Cookie: $PORTAL_SESSION_COOKIE" \
-H 'Content-Type: application/json' \
--data-binary @request.jsonAntwort
Der Handler liefert JSON. Die Antwortfelder sind im verlinkten Routencode definiert.
200 201 400 401 403 500 502 503
Die referenzierte Quelldatei enthält die maßgebliche Feldvalidierung und Antwortstruktur.
Fehlercodes
400· Anfrage oder Eingabevalidierung fehlgeschlagen401· Sitzung oder Zugangsdaten fehlen oder sind ungültig403· Rolle oder Zugriffsumfang reicht nicht aus500· Interner Handlerfehler502· Routenfehler; Details stehen im Handler.503· Dienst oder Datenbank ist nicht verfügbar
Beleg im Code
app/api/v1/integrations/route