fix: require sign-in for the OpenAPI document unless TESSERA_PUBLIC_OPENAPI is set
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -16,7 +16,7 @@ admin/browser. Semua status/data job hanya di scope owner/admin yang berizin.
|
||||
| Route | Methods | Principal | Permission | Scope | Data yang boleh keluar |
|
||||
| --- | --- | --- | --- | --- | --- |
|
||||
| /health | GET | public | — | — | liveness statis |
|
||||
| /api-doc/openapi.json | GET | public | — | — | schema tanpa config/secret |
|
||||
| /api-doc/openapi.json | GET | human | — | — | perlu login atau token admin; publik hanya dengan TESSERA_PUBLIC_OPENAPI=true |
|
||||
| /api/v1/operator/session | GET | public | — | current session | status, actor, CSRF sesi sendiri; no-store |
|
||||
| /api/v1/operator/session | DELETE | human | session.self | current session | tidak ada; CSRF wajib |
|
||||
| /api/v1/me | GET | human | session.self | current principal | id, kind, auth method, display name, capabilities; no-store |
|
||||
|
||||
Reference in New Issue
Block a user