feat: rewrite proto to only update tags of machine

This commit is contained in:
Adrien Raffin-Caboisse 2022-04-25 20:45:07 +02:00
parent 3a90079ab8
commit 31debf7055
2 changed files with 6 additions and 5 deletions

View file

@ -81,9 +81,9 @@ service HeadscaleService {
};
}
rpc UpdateMachine(UpdateMachineRequest) returns (UpdateMachineResponse) {
rpc SetTags(SetTagsRequest) returns (SetTagsResponse) {
option (google.api.http) = {
post: "/api/v1/machine/{machine.id}"
post: "/api/v1/machine/{machine_id}/tags"
body: "*"
};
}