-
Notifications
You must be signed in to change notification settings - Fork 11
feat: llmo-1539 new endpoint to get user details #1585
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
Conversation
|
This PR will trigger a minor release when merged. |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
for non admin users, if user could not be found in the TrialUsers list we assume its either service user or admin user which is not part of the imsOrg so returning system in that case. Once we have required scope added in the ims client we will be able to identify users who are not part of the IMS group in a better way |
# [1.266.0](v1.265.3...v1.266.0) (2025-12-02) ### Features * llmo-1539 new endpoint to get user details ([#1585](#1585)) ([3de93ed](3de93ed))
|
🎉 This PR is included in version 1.266.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Add User Details API Endpoints
Summary
Added two new API endpoints to fetch user details (name, email) for trial users with IMS fallback support for admin users.
Changes
New Controller:
user-details.jsGET
/organizations/:organizationId/userDetails/:externalUserIdPOST
/organizations/:organizationId/userDetailsexternalUserIdas key and user details as valueFeatures
User Details Response
{
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]",
"organizationId": "org-id"
}### Tests
Please ensure your pull request adheres to the following guidelines:
describe here the problem you're solving.
If the PR is changing the API specification:
yet. Ideally, return a 501 status code with a message explaining the feature is not implemented yet.
If the PR is changing the API implementation or an entity exposed through the API:
If the PR is introducing a new audit type:
Related Issues
Thanks for contributing!