We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The passed user field in the v1.MoveNodeRequest (API) request does not come in. Only nodeId is received, because it is passed in url query params
user
v1.MoveNodeRequest
Request payload:
{ "nodeId": 12, "user": "test" }
Request in v1.MoveNodeRequest:
{ "nodeId": 12, "user": "" }
Current rpc method in headscale.proto
headscale.proto
rpc MoveNode(MoveNodeRequest) returns (MoveNodeResponse) { option (google.api.http) = { post: "/api/v1/node/{node_id}/user" }; }
The passed user field in the v1.MoveNodeRequest (API) request arrives correctly.
Fixed rpc method in headscale.proto
rpc MoveNode(MoveNodeRequest) returns (MoveNodeResponse) { option (google.api.http) = { post: "/api/v1/node/{node_id}/user", body: "*" }; }
/api/v1/node/{nodeId}/user
user not found
- OS: MacOS 15 - Headscale version: 0.22.3 - Tailscale version: 1.74.0
No response
The text was updated successfully, but these errors were encountered:
juanfont#2178 Fixed processing of fields in post request in MoveNode rpc
9ac42de
juanfont#2178 Updated CHANGELOG.md
3cb24e2
#2178 Fixed processing of fields in post request in MoveNode rpc (#2179)
b3cda08
* #2178 Fixed processing of fields in post request in MoveNode rpc * #2178 Updated CHANGELOG.md
Successfully merging a pull request may close this issue.
Is this a support request?
Is there an existing issue for this?
Current Behavior
The passed
user
field in thev1.MoveNodeRequest
(API) request does not come in. Only nodeId is received, because it is passed in url query paramsRequest payload:
Request in v1.MoveNodeRequest:
Current rpc method in
headscale.proto
Expected Behavior
The passed
user
field in the v1.MoveNodeRequest (API) request arrives correctly.Request payload:
Request in v1.MoveNodeRequest:
Fixed rpc method in
headscale.proto
Steps To Reproduce
/api/v1/node/{nodeId}/user
user not found
Environment
Runtime environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: