- 
                Notifications
    You must be signed in to change notification settings 
- Fork 32
Closed
Labels
Milestone
Description
Create a new endpoint GET /taas-teams/me which would return details about the logged-in user form V5.
- Any logged-in user should be able to call this endpoint (same like any user can get skills)
- This endpoint should internally call endpoint GET {TC_API}/users?externalProfile.organizationId={config.ORG_ID}&externalProfile.externalId={currentUser.userId}- use U-Bahn M2M token to call it
 
- We should be able to optionally pass a query param enrich=truelikeGET /taas-teams/me?enrich=true, which should be passed to the u-bahn endpoint
- Instead of array GET /taas-teams/meendpoint should return one object of the user if it's found
- If the user is not found (i. e. response of u-bahn endpoint is an empty array), then return error 404
- Update Swagger
- Update Postman
Update
Removed support for enrich param as per #170