Move API Reference (#23777)
* merge mattermost-api-reference unchanged * api: update repostiory paths * api: drop GitPod for api (for now) * api: improved node_modules target * api: relocate GitHub actions to root * Update .github/workflows/api.yml Co-authored-by: Antonis Stamatiou <stamatiou.antonis@gmail.com> * fix cache-dependency-path * adopt node-version-file * pin versions for uses * tidy steps/runs * api/.gitpod.yml: tidy * api: rm now unused .gitlab-ci.yml --------- Co-authored-by: Antonis Stamatiou <stamatiou.antonis@gmail.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
3f99b7618d
Коммит
d9614cbb12
24
api/v4/source/cluster.yaml
Обычный файл
24
api/v4/source/cluster.yaml
Обычный файл
@@ -0,0 +1,24 @@
|
||||
/api/v4/cluster/status:
|
||||
get:
|
||||
tags:
|
||||
- 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.
|
||||
|
||||
##### Permissions
|
||||
|
||||
Must have `manage_system` permission.
|
||||
operationId: GetClusterStatus
|
||||
responses:
|
||||
"200":
|
||||
description: Cluster status retrieval successful
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/ClusterInfo"
|
||||
"403":
|
||||
$ref: "#/components/responses/Forbidden"
|
||||
Ссылка в новой задаче
Block a user