Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • C Cora - Backend
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Cora
  • Cora - Backend
  • Merge requests
  • !15

Open
Created Nov 05, 2025 by Enzo Zortéa Vivian@enzo.vivianDeveloper
  • Report abuse
Report abuse

feat: implemented specialist profile on get user by id endpoint

  • Overview 0
  • Commits 3
  • Pipelines 4
  • Changes 4

Summary

Get user with id now returns specialist info if is specialist

Details

When the user id is from a specialist the return is changed to this format: { "user_id": "3b7b8f8e-8f8e-4f8e-8f8e-3b7b8f8e8f8e", "name": "Maria Eduarda Wendel Maia", "email": "[email protected]", "user_type": "specialist", "profile_picture": "profile1.jpg", "specialist_profile": { "specialist_id": "3b7b8f8e-8f8e-4f8e-8f8e-3b7b8f8e8f8e", "specialty": "Psicologia infantil", "description": "Especialista em criatividade e inovação, com 10 anos de experiência ajudando pessoas a desbloquear seu potencial criativo.", "council_number": "CRP 12345" } } The only-specialist info is inside the specialist_profile dictionary. An admin cannot obtain information from another user, contrary to what is stated in the task requirements.

US number and link

US28

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: us28-get-specialist