app.routers.me¶
GET /api/v1/me: caller identity, permissions, reviewer eligibility.
Needs authentication only (no permission), so a signed-in user without any role can still see why they cannot browse.
- app.routers.me.get_me(principal=Depends(dependency=<function get_principal>, use_cache=True, scope=None), permissions=Depends(dependency=<function get_permissions>, use_cache=True, scope=None), runtime=Depends(dependency=<function get_catalog_runtime>, use_cache=True, scope=None))¶
Describe the caller.
- Parameters:
principal (
Principal) – The authenticated caller.permissions (
frozenset[Permission]) – The caller’s permissions.runtime (
CatalogRuntime|None) – Startup state (approval policy).
- Return type:
- Returns:
Identity, permissions and reviewer eligibility.