1
0
Fork 0
mirror of https://github.com/ThomasGsp/HyperProxmox.git synced 2025-02-12 11:12:10 +00:00

Update 08-usages.md

This commit is contained in:
Thomas.GSP 2018-05-02 16:10:54 +01:00 committed by GitHub
parent bd03e894fd
commit 2285bc52f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,8 +1,8 @@
# Usages
## API
## API
###  New cluster
### New cluster
``` bash
# Minimum:
curl -H -XPOST -d '{
@ -46,7 +46,7 @@ curl -H -XPOST -d '{
* "weight": Weight for the cluster auto-selection (int) [VALUE NOT EMPTY REQUIRED]
### Manage virtual machine (status)
### Manage virtual machine (status)
To manage an virtual machine, there are two way: use MongoID or the long path.
The first way is probably more efficient in a scripting/program system and the second way for human.
Indeed, it's just a wrapper.
@ -98,4 +98,4 @@ curl 'http://127.0.0.1:8080/api/v1/static/instances/last/Cluster_1/my_node/510/
``̀
[Usage - api](07-api.md) <-- Previous
[Usage - api](07-api.md) <-- Previous