[PR #1284] [MERGED] Extend API with accessible peers #15167

Closed
opened 2026-08-05 03:07:05 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/1284
Author: @pappz
Created: 11/2/2023
Status: Merged
Merged: 11/7/2023
Merged by: @pappz

Base: mainHead: feature/connected-peers-api


📝 Commits (4)

  • e1a44e0 Extend API with accessible peers
  • add9387 Extend update action response with accessible peers
  • 399fd97 Fix api doc
  • f6e78f5 Use fqdn instead of label

📊 Changes

4 files changed (+270 additions, -14 deletions)

View changed files

📝 management/server/http/api/openapi.yml (+46 -2)
📝 management/server/http/api/types.gen.go (+126 -0)
📝 management/server/http/peers_handler.go (+89 -12)
📝 management/server/http/peers_handler_test.go (+9 -0)

📄 Description

Describe your changes

Extend the peer and peers API endpoints with accessible peers.

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/1284 **Author:** [@pappz](https://github.com/pappz) **Created:** 11/2/2023 **Status:** ✅ Merged **Merged:** 11/7/2023 **Merged by:** [@pappz](https://github.com/pappz) **Base:** `main` ← **Head:** `feature/connected-peers-api` --- ### 📝 Commits (4) - [`e1a44e0`](https://github.com/netbirdio/netbird/commit/e1a44e022f740dd18cea4955a43ffac4780d26b9) Extend API with accessible peers - [`add9387`](https://github.com/netbirdio/netbird/commit/add9387c3d15d98dee7574dc99b1214b04f7626d) Extend update action response with accessible peers - [`399fd97`](https://github.com/netbirdio/netbird/commit/399fd976802e7b31bafa5107b75706e0a608c14c) Fix api doc - [`f6e78f5`](https://github.com/netbirdio/netbird/commit/f6e78f592b3acaa914a47b298306b766e6f9aaa8) Use fqdn instead of label ### 📊 Changes **4 files changed** (+270 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `management/server/http/api/openapi.yml` (+46 -2) 📝 `management/server/http/api/types.gen.go` (+126 -0) 📝 `management/server/http/peers_handler.go` (+89 -12) 📝 `management/server/http/peers_handler_test.go` (+9 -0) </details> ### 📄 Description ## Describe your changes Extend the peer and peers API endpoints with accessible peers. ## Issue ticket number and link ### 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 03:07:05 -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#15167