Get Current User Info

Changed on

Return 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

Response

Successful Response

usernamestring required
idinteger required
role'guest' | 'dm' | 'analyst' | 'admin' required

Possible user roles.

group_idsinteger[] nullable required

Changes

    • breaking

      removed the required property from the response with the status

    • info

      the endpoint scheme security APIKeyCookie was added to the API

    • info

      added the required property to the response with the status

    • breaking

      removed the required property from the response with the status

    • info

      the endpoint scheme security APIKeyCookie was removed from the API

    • info

      added the required property to the response with the status