admi api: remove info about local node from GetClusterStatus and add specific GetNodeInfo endpoint

This commit is contained in:
Alex Auvolat
2025-03-06 10:26:01 +01:00
parent 29ce490dd6
commit 2e03d90585
8 changed files with 85 additions and 85 deletions
+5 -29
View File
@@ -84,34 +84,12 @@ paths:
application/json:
schema:
type: object
required: [ node, garageVersion, garageFeatures, rustVersion, dbEngine, knownNodes, layout ]
required: [ layoutVersion, nodes ]
properties:
node:
type: string
example: "ec79480e0ce52ae26fd00c9da684e4fa56658d9c64cdcecb094e936de0bfe71f"
garageVersion:
type: string
example: "v2.0.0"
garageFeatures:
type: array
items:
type: string
example:
- "k2v"
- "lmdb"
- "sqlite"
- "consul-discovery"
- "kubernetes-discovery"
- "metrics"
- "telemetry-otlp"
- "bundled-libs"
rustVersion:
type: string
example: "1.68.0"
dbEngine:
type: string
example: "LMDB (using Heed crate)"
knownNodes:
layoutVersion:
type: integer
example: 1
nodes:
type: array
example:
- id: "ec79480e0ce52ae26fd00c9da684e4fa56658d9c64cdcecb094e936de0bfe71f"
@@ -131,8 +109,6 @@ paths:
hostname: neptune
items:
$ref: '#/components/schemas/NodeNetworkInfo'
layout:
$ref: '#/components/schemas/ClusterLayout'
/ConnectClusterNodes:
post: