GreenCloud
Welcome to the GreenCloud API. This project can be used by developers or business owners to create and access their infrastructure, work with different API methods and endpoints. Current version allows you to browse the available offers, subscribe (or cancel your subscription) to the different services such as IaaS, VPNaaS, work with users etc. More information on the current offers you can find…
GreenCloud endpoints
| Method | Endpoint | Description |
|---|---|---|
| Offers | ||
| GET |
getOfferList /offer |
More information on the current offers you can find on our website [https://greencloud.fr](https://greencloud.fr) Parameter `img` is a primary image to be used for each offer. |
| GET |
getOfferDetails /offer/{id} |
Detailed information on the offer with multiple `images` and description as `desc_full`. |
| IaaS | ||
| GET |
getIaasItemState /iaas/item/state |
Returns list of the IaaS item states (hardware / equipement). Please order items in state `1` |
| PUT |
putIaasItemDetails /iaas/item/{id} |
Update IaaS physical resource (item) details |
| GET |
getOfferType /iaas/type |
Returns list of available IaaS resources types |
| GET |
getAzList /iaas/az |
Returns list of Availability Zones. Please used zone `2` by default. |
| GET |
getIaasItemDetails /iaas/item/{id} |
Returns IaaS physical resource (item) details |
| GET |
getInventoryList /iaas |
Returns list of available servers |
| POST |
subscribeIaaS /iaas/subscribe |
- `user_ip` variable is used to open Firewall to access to server management. You can leave default IP `1.2.3.4` to let server determinate your actual IP address. - `az_id` - ID… |
| GET |
getIaasDetails /iaas/{id} |
This is the overview of the offer. Real hardware items are available in the `/iaas/item` section(s) below |
| VPNaaS | ||
| PUT |
updateVpn /vpnaas/{id} |
For service use ONLY |
| GET |
getVPNList /vpnaas |
List of VPNaaS instances |
| DELETE |
deleteVpn /vpnaas/{id} |
This can |
| GET |
getVPNDetails /vpnaas/{id} |
Returns VPNaaS details |
| POST |
subscribeVPN /vpnaas/subscribe |
Allows you to create the Wireguard VPN instance based on the available VLAN to access it's infrastructure. |
| user | ||
| POST |
registerUser /user/signup |
|
| GET |
getUserDetails /user |
Returns user details |
| POST |
loginUser /user/signin |
A successful login gives you access to your `API_KEY`. Unsuccessful login returns HTTP code `403` WARNING Multiple failures will block the client IP on the Firewall level. |
| Orders | ||
| GET |
getOrderList /order |
Returns list of customers orders |
| GET |
getOrderDetails /order/{id} |
Returns order/subscription details |
| DELETE |
deleteOrder /order/{id} |
Cancel order/subscription |
| message | ||
| POST |
sendMess /message/{endpoint} |
|
| POST |
postTelegram /message/telegram |
Telegram Bot Widget |
| firewall | ||
| GET |
getFirewallDetails /firewall |
Returns firewall configuration details |
| PUT |
putFirewallDetails /firewall |
Updates firewall configuration (User IP) |
GreenCloud pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|