Get the Current User
This function is an API endpoint that allows an authenticated user to retrieve their current user information. It is tagged with "user" for OpenAPI documentation.
Parameters
- request: The request data, which includes the current user information. <br>
Returns
If successful, this function returns a Json<CurrentUserResponse> object, which includes the current user information. <br> If the user is not authorized, this function returns a status::Unauthorized error. <br>
Errors
This function will return an error if the system is in maintenance mode, or if the user is not authorized.
Request body
Response
Changes
Changed in 3 of the 11 revisions of this API.15
- ○
added the required property
adminto the response with the200statusresponse-required-property-added
- ○
- ○
api tag
useraddedapi-tag-added
- ○
api tag
Userremovedapi-tag-removed
- ○
- ▲
removed the required property
adminfrom the response with the200statusresponse-required-property-removed
- ○
api tag
Useraddedapi-tag-added
- ○
api tag
userremovedapi-tag-removed
This revision also has 16 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲