[PR #3676] [MERGED] [management] retrieve current user api spec and rest client implement… #18187

Open
opened 2026-08-05 04:08:13 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/3676
Author: @pnmcosta
Created: 4/14/2025
Status: Merged
Merged: 4/15/2025
Merged by: @pnmcosta

Base: feature/get-current-userHead: feature/get-current-user-api-spec


📝 Commits (3)

  • c1b4723 [management] retrieve current user api spec and rest client implementation
  • 56e4318 fix request method
  • 8389a18 Merge branch 'feature/get-current-user' into feature/get-current-user-api-spec

📊 Changes

4 files changed (+71 additions, -1 deletions)

View changed files

📝 management/client/rest/users.go (+13 -0)
📝 management/client/rest/users_test.go (+34 -0)
📝 management/server/http/api/openapi.yml (+23 -0)
📝 management/server/http/api/types.gen.go (+1 -1)

📄 Description

Describe your changes

Retrieve current user openspec API details and rest client implementation

Stack

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

🔄 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/netbirdio/netbird/pull/3676 **Author:** [@pnmcosta](https://github.com/pnmcosta) **Created:** 4/14/2025 **Status:** ✅ Merged **Merged:** 4/15/2025 **Merged by:** [@pnmcosta](https://github.com/pnmcosta) **Base:** `feature/get-current-user` ← **Head:** `feature/get-current-user-api-spec` --- ### 📝 Commits (3) - [`c1b4723`](https://github.com/netbirdio/netbird/commit/c1b4723479719150417618d18143fdadba593f66) [management] retrieve current user api spec and rest client implementation - [`56e4318`](https://github.com/netbirdio/netbird/commit/56e43183f2a792f7f797eba9efa10283f1e49fda) fix request method - [`8389a18`](https://github.com/netbirdio/netbird/commit/8389a1808b41ff07d3589b2f8ef1ce6bd72727d1) Merge branch 'feature/get-current-user' into feature/get-current-user-api-spec ### 📊 Changes **4 files changed** (+71 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `management/client/rest/users.go` (+13 -0) 📝 `management/client/rest/users_test.go` (+34 -0) 📝 `management/server/http/api/openapi.yml` (+23 -0) 📝 `management/server/http/api/types.gen.go` (+1 -1) </details> ### 📄 Description ## Describe your changes Retrieve current user openspec API details and rest client implementation ## Issue ticket number and link ## Stack <!-- branch-stack --> ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [x] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 04:08:13 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#18187