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