Merge remote-tracking branch 'origin/main' into feat-list-tags-of-machines

This commit is contained in:
Adrien Raffin-Caboisse 2022-05-03 20:35:28 +02:00
commit a2fb5b2b9d
No known key found for this signature in database
GPG key ID: 7FB60532DEBEAD6A
32 changed files with 1326 additions and 673 deletions

View file

@ -291,6 +291,43 @@
]
}
},
"/api/v1/machine/{machineId}/namespace": {
"post": {
"operationId": "HeadscaleService_MoveMachine",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/v1MoveMachineResponse"
}
},
"default": {
"description": "An unexpected error response.",
"schema": {
"$ref": "#/definitions/rpcStatus"
}
}
},
"parameters": [
{
"name": "machineId",
"in": "path",
"required": true,
"type": "string",
"format": "uint64"
},
{
"name": "namespace",
"in": "query",
"required": false,
"type": "string"
}
],
"tags": [
"HeadscaleService"
]
}
},
"/api/v1/machine/{machineId}/routes": {
"get": {
"summary": "--- Route start ---",
@ -974,6 +1011,14 @@
}
}
},
"v1MoveMachineResponse": {
"type": "object",
"properties": {
"machine": {
"$ref": "#/definitions/v1Machine"
}
}
},
"v1Namespace": {
"type": "object",
"properties": {