Update /api/v4/cluster/status docs (#28189)

Co-authored-by: Mattermost Build <build@mattermost.com>
This commit is contained in:
Alejandro García Montoro 2024-09-16 17:51:51 +02:00 committed by GitHub
parent d1960daa20
commit d1ecea4c84
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 25 additions and 24 deletions

View File

@ -4,8 +4,9 @@
- cluster - cluster
summary: Get cluster status summary: Get cluster status
description: > description: >
Get a set of information for each node in the cluster, useful for Get a list of all healthy nodes, including local information and
checking the status and health of each node. status of each one. If a node is not present, it means it is not
healthy.
##### Permissions ##### Permissions

View File

@ -2205,6 +2205,9 @@ components:
emails: emails:
type: string type: string
ClusterInfo: ClusterInfo:
type: array
properties:
items:
type: object type: object
properties: properties:
id: id:
@ -2213,21 +2216,18 @@ components:
version: version:
description: The server version the node is on description: The server version the node is on
type: string type: string
config_hash: schema_version:
description: The hash of the configuartion file the node is using description: The number of the latest DB migration successfully executed for the node
type: string type: string
internode_url: config_hash:
description: The URL used to communicate with those node from other nodes description: The hash of the configuration file the node is using
type: string
ipaddress:
description: The IP address of the node
type: string type: string
hostname: hostname:
description: The hostname for this node description: The hostname for this node
type: string type: string
last_ping:
description: The time of the last ping to this node
type: integer
is_alive:
description: Whether or not the node is alive and well
type: boolean
AppError: AppError:
type: object type: object
properties: properties: