Back

GET /api/v1/sources

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

GET/api/v1/sources

Access

The session variable in examples is a placeholder. The browser supplies the real session cookie.

Request

PathRoute details
query · urloptional · {"type":"string"}

Request body in the handler contract: none.

Synthetic curl example
curl -i -X GET 'https://portal.rfi-irfos.com/api/v1/sources' \
  -H "Cookie: $PORTAL_SESSION_COOKIE"

Response

The handler returns JSON. Response fields are defined in the linked route source.

200 401 422 502

The linked source file contains the authoritative field validation and response structure.

Error codes

  • 401 · Session or credentials are missing or invalid
  • 422 · Route error; details are in the handler.
  • 502 · Route error; details are in the handler.

Code evidence

app/api/v1/sources/route

Local index↑ ↓ · Enter · Esc