Skip to content

[$50] Create proxy endpoint GET /taas-teams/me #154

@maxceem

Description

@maxceem

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=true like GET /taas-teams/me?enrich=true, which should be passed to the u-bahn endpoint
  • Instead of array GET /taas-teams/me endpoint 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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy