Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add New API Call for User Profile #3723

Open
lorriborri opened this issue Dec 11, 2024 · 0 comments
Open

Add New API Call for User Profile #3723

lorriborri opened this issue Dec 11, 2024 · 0 comments
Labels

Comments

@lorriborri
Copy link
Member

Situation

Currently, our application lacks an endpoint to retrieve user profile information (username, email, Role). Users need a way to access their profile details through a dedicated API call.

Wanted

We need a new API endpoint
e.g. api/user/profile that allows authenticated users to retrieve their profile information.

The endpoint should:

  • Be accessible via a GET request.
  • Return user profile details such as username, email and role.

Solution

The new Endpoint should be in a dedicated domain for the webui
(maybe move the getAssignedProjectDataList in this domain as well - the usecase must be moved anyway)

  • add GET request to openapi.yaml
  • create new UseCase
  • create new REST controller
  • create new Service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant