cloud/ActionsGPT-shema.yaml
2025-04-16 21:56:00 +02:00

91 lines
2.4 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

openapi: "3.1.0"
info:
title: Proxmox Cluster Status API
version: "1.1"
servers:
- url: https://pve.lawek.com/api2/json
paths:
/cluster/status:
get:
operationId: getClusterStatus
summary: Récupère le statut du cluster Proxmox
responses:
"200":
description: Statut du cluster retourné avec succès
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
type: object
/nodes:
get:
operationId: listNodes
summary: Liste tous les nœuds du cluster
responses:
"200":
description: Liste des nœuds
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
type: object
properties:
node:
type: string
status:
type: string
uptime:
type: integer
maxcpu:
type: integer
maxmem:
type: integer
/nodes/{node}/status:
get:
operationId: getNodeStatus
summary: Récupère les informations dun nœud spécifique
parameters:
- name: node
in: path
required: true
schema:
type: string
responses:
"200":
description: Statut du nœud
content:
application/json:
schema:
type: object
properties:
data:
type: object
/cluster/resources:
get:
operationId: getClusterResources
summary: Récupère les ressources du cluster (VMs, containers, etc.)
responses:
"200":
description: Ressources du cluster retournées avec succès
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
type: object