Skip to content

Routes

To expose an application operation over HTTP, follow a Core controller such as Scavenger. Declare the request, response, and required scopes on the handler. Register the controller in application assembly. The Scavenger tests exercise its published OpenAPI shape, accepted requests, and operation-specific refusals. The app factory tests exercise the assembled Host, authentication, Origin, and CSRF boundaries through Atlas.

Validate transport input at the controller and enforce current permission at the operation. Where the service emits runtime activity, it owns the evidence. Oculus explains the distinction between a declaration a reader can inspect and an observed event. The current extension context provides no HTTP route hook.