Get Current User Info
Changed onReturn information about the current user.
Args: user (Annotated[User, Depends): user dependency, handled by get_current_user.
Returns: UserPublic: public information about the current user.
get/user_info
Request
- The document declares no server URL.
- Auth
- OAuth 2PasswordToken URLlogin
- or API key in cookie access_token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Successful Response
Changes
- breaking
removed the required property
from the response with the status - info
the endpoint scheme security
APIKeyCookiewas added to the API - info
added the required property
to the response with the status
- breaking
- breaking
removed the required property
from the response with the status - info
the endpoint scheme security
APIKeyCookiewas removed from the API - info
added the required property
to the response with the status
- breaking