Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

feat: add GET /api/v1/users/:user_id new endpoint #166

Merged

Conversation

jfcalvo
Copy link
Member

@jfcalvo jfcalvo commented May 10, 2024

Description

This PR add a new API v1 endpoint GET /api/v1/users/:user_id endpoint so the server can return a user information given a user id.

Closes #163

Type of change

(Please delete options that are not relevant. Remember to title the PR according to the type of change)

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor (change restructuring the codebase without changing functionality)
  • Improvement (change adding some improvement to an existing functionality)
  • Documentation update

How Has This Been Tested

(Please describe the tests that you ran to verify your changes. And ideally, reference tests)

  • Adding new tests for the endpoint

Checklist

  • I added relevant documentation
  • follows the style guidelines of this project
  • I did a self-review of my code
  • I made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I filled out the contributor form (see text above)
  • I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/)

@jfcalvo jfcalvo requested a review from frascuchon May 10, 2024 10:46
@jfcalvo jfcalvo linked an issue May 10, 2024 that may be closed by this pull request
Base automatically changed from feat/migrate-delete-user-to-api-v1 to feat/move-api-v0-functionality-to-v1 May 13, 2024 09:55
@jfcalvo jfcalvo merged commit 50b2f9a into feat/move-api-v0-functionality-to-v1 May 13, 2024
10 checks passed
@jfcalvo jfcalvo deleted the feat/api-v1-get-user-endpoint branch May 13, 2024 13:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Add admin endpoint to get an user by id
2 participants