1
0
Fork 0
mirror of https://github.com/ThomasGsp/HyperProxmox.git synced 2025-03-09 15:40:18 +00:00

Update readme

This commit is contained in:
Tlams 2018-02-21 21:40:03 +00:00
parent f8059af13a
commit c139775e9b

View file

@ -207,9 +207,8 @@ curl -H -XPOST -d '{ "name": "Cluster_1",
### General informations ### General informations
``` bash ``` bash
([a-z0-9]+) = MongoID ([a-z0-9]+) = MongoID
([0-9]+) = Timestamp ([0-9]+) = Timestamp/vmid
([0-9a-zA-Z\_\-]+) = Cluster/node name ([0-9a-zA-Z\_\-]+) = Cluster/node name
([0-9]+) = vmid
``` ```
@ -221,11 +220,15 @@ curl -H -XPOST -d '{ "name": "Cluster_1",
### Cluster management ### Cluster management
``` bash ``` bash
'/api/v1/administration/cluster/(?:[0-9a-zA-Z\_\-]+)' | GET - Return the informations for an specific cluster '/api/v1/administration/cluster/(?:[0-9a-zA-Z\_\-]+)' | GET - Return the informations for an specific cluster
| PUT - Update the configurations for an specific cluster
| DELETE - Delete the configuration for an specific cluster
'/api/v1/administration/cluster/' | GET - Return all clusters information '/api/v1/administration/cluster/' | GET - Return all clusters information
'/api/v1/administration/cluster/new' | POST - Inster a new cluster '/api/v1/administration/cluster/new' | POST - Inster a new cluster
``` ```
### Cache Data - MongoDB ### Cache Data - MongoDB
This data are manage by the crawler, you can't insert or change data yourself
``` bash ``` bash
# date/cluster/node/vmid # date/cluster/node/vmid
# Disks mapping # Disks mapping