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

Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
Alejandro García Montoro
2024-09-16 17:51:51 +02:00
коммит произвёл GitHub
родитель d1960daa20
Коммит d1ecea4c84
2 изменённых файлов: 25 добавлений и 24 удалений

Просмотреть файл

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

Просмотреть файл

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