mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-08-21 10:26:36 +00:00
admi api: remove info about local node from GetClusterStatus and add specific GetNodeInfo endpoint
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user