[PR #1527] [CLOSED] Allow to get one route by route id #2165

Closed
opened 2025-12-29 03:20:03 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/1527
Author: @xzzpig
Created: 8/15/2023
Status: Closed

Base: mainHead: main


📝 Commits (1)

  • fc63cc1 Allow to get one route by route id

📊 Changes

10 files changed (+630 additions, -216 deletions)

View changed files

📝 cmd/headscale/cli/routes.go (+71 -3)
📝 gen/go/headscale/v1/headscale.pb.go (+134 -123)
📝 gen/go/headscale/v1/headscale.pb.gw.go (+103 -0)
📝 gen/go/headscale/v1/headscale_grpc.pb.go (+37 -0)
📝 gen/go/headscale/v1/routes.pb.go (+207 -79)
📝 gen/openapiv2/headscale/v1/headscale.swagger.json (+39 -0)
📝 hscontrol/grpcv1.go (+10 -0)
📝 hscontrol/types/routes.go (+15 -11)
📝 proto/headscale/v1/headscale.proto (+6 -0)
📝 proto/headscale/v1/routes.proto (+8 -0)

📄 Description

I added a new API for getting special one route information.

  • read the CONTRIBUTING guidelines
  • raised a GitHub issue or discussed it on the projects chat beforehand
  • added unit tests
  • added integration tests
  • updated documentation if needed
  • updated CHANGELOG.md

🔄 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/juanfont/headscale/pull/1527 **Author:** [@xzzpig](https://github.com/xzzpig) **Created:** 8/15/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`fc63cc1`](https://github.com/juanfont/headscale/commit/fc63cc19da8d9efa04c3c7652a4e74ea306aaeb5) Allow to get one route by route id ### 📊 Changes **10 files changed** (+630 additions, -216 deletions) <details> <summary>View changed files</summary> 📝 `cmd/headscale/cli/routes.go` (+71 -3) 📝 `gen/go/headscale/v1/headscale.pb.go` (+134 -123) 📝 `gen/go/headscale/v1/headscale.pb.gw.go` (+103 -0) 📝 `gen/go/headscale/v1/headscale_grpc.pb.go` (+37 -0) 📝 `gen/go/headscale/v1/routes.pb.go` (+207 -79) 📝 `gen/openapiv2/headscale/v1/headscale.swagger.json` (+39 -0) 📝 `hscontrol/grpcv1.go` (+10 -0) 📝 `hscontrol/types/routes.go` (+15 -11) 📝 `proto/headscale/v1/headscale.proto` (+6 -0) 📝 `proto/headscale/v1/routes.proto` (+8 -0) </details> ### 📄 Description <!-- Headscale is "Open Source, acknowledged contribution", this means that any contribution will have to be discussed with the Maintainers before being submitted. This model has been chosen to reduce the risk of burnout by limiting the maintenance overhead of reviewing and validating third-party code. Headscale is open to code contributions for bug fixes without discussion. If you find mistakes in the documentation, please submit a fix to the documentation. --> <!-- Please tick if the following things apply. You… --> I added a new API for getting special one route information. - [x] read the [CONTRIBUTING guidelines](README.md#contributing) - [ ] raised a GitHub issue or discussed it on the projects chat beforehand - [ ] added unit tests - [ ] added integration tests - [ ] updated documentation if needed - [ ] updated CHANGELOG.md <!-- If applicable, please reference the issue using `Fixes #XXX` and add tests to cover your new code. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 03:20:03 +01:00
adam closed this issue 2025-12-29 03:20:03 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2165