auth
Whoami
세션 인트로스펙션 엔드포인트.
docs.otakusolutions.com 서버가 os_session 쿠키를 포워딩해서 호출. request.state.user 는 SessionMiddleware 가 이미 채워 놓음. 본인 세션만 반환(쿠키 기반, 타인 조회 파라미터 없음).
반환: 비로그인/만료: {"authenticated": false} 로그인: {"authenticated": true, "email": ..., "role": ..., "is_admin": ...}
get/api/auth/whoami
Request
- Base URLhttps://otakusolutions.com (the document declares no server; this is the origin it was published from)
- URLhttps://otakusolutions.com/api/auth/whoami
- Authnone declared
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 26 revisions of this API.