fix: describe the OpenAPI route as sign-in only in the endpoint contract

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-16 21:19:19 +07:00
parent 5b8aec0591
commit 7d7ebdc172

View File

@@ -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 | | Route | Methods | Principal | Permission | Scope | Data yang boleh keluar |
| --- | --- | --- | --- | --- | --- | | --- | --- | --- | --- | --- | --- |
| /health | GET | public | — | — | liveness statis | | /health | GET | public | — | — | liveness statis |
| /api-doc/openapi.json | GET | human | — | — | perlu login atau token admin; publik hanya dengan TESSERA_PUBLIC_OPENAPI=true | | /api-doc/openapi.json | GET | human | session.self | any signed-in caller | 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 | 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/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 | | /api/v1/me | GET | human | session.self | current principal | id, kind, auth method, display name, capabilities; no-store |