[PR #754] [CLOSED] feat: get user by username via api #639

Open
opened 2025-10-08 00:14:20 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pocket-id/pocket-id/pull/754
Author: @kmendell
Created: 7/16/2025
Status: Closed

Base: mainHead: feat/username-endpoint


📝 Commits (1)

  • c96004d feat: get user by username via api

📊 Changes

2 files changed (+26 additions, -8 deletions)

View changed files

📝 backend/internal/controller/user_controller.go (+18 -4)
📝 backend/internal/service/user_service.go (+8 -4)

📄 Description

Modifies the existing /api/users/{id} endpoint to be able to get users by their username or their id

Issues Closed by this PR

Fixes: https://github.com/pocket-id/pocket-id/issues/753


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/pocket-id/pocket-id/pull/754 **Author:** [@kmendell](https://github.com/kmendell) **Created:** 7/16/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/username-endpoint` --- ### 📝 Commits (1) - [`c96004d`](https://github.com/pocket-id/pocket-id/commit/c96004da6419cbd945229c5772163978a7b46fa3) feat: get user by username via api ### 📊 Changes **2 files changed** (+26 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `backend/internal/controller/user_controller.go` (+18 -4) 📝 `backend/internal/service/user_service.go` (+8 -4) </details> ### 📄 Description Modifies the existing /api/users/{id} endpoint to be able to get users by their `username` or their `id` <details> <summary>Issues Closed by this PR</summary> Fixes: https://github.com/pocket-id/pocket-id/issues/753 </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2025-10-08 00:14:21 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id-pocket-id-1#639