754 B
Executable file
754 B
Executable file
ucloud-api
Installation
Make sure you have Python >= 3.6 and Pipenv installed.
- Clone the repository and
cd
into it. - Run the following commands
pipenv install
pipenv shell
python main.py
Endpoints
Create VM
To Create VM send a POST
request at /vm/create
with JSON body.
An Example JSON Request Body is shown below
{
"name": "username",
"realm": "user realm",
"seed": "user seed",
"specs": {
"cpu": 16,
"ram": 256,
"hdd": "2TB",
"sdd": "256GB"
}
}