POST
/
kvm
/
v2
/
get
/
pool_traffic
Get Global Traffic Pool Size
curl --request POST \
  --url https://{api_host}.edisglobal.com/kvm/v2/get/pool_traffic \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data signature=session_signature_12345 \
  --data kvm_id=kvm_123456_789012 \
  --data valid_until=1737476000
{
  "status": "success",
  "msg": "traffic_pool exists",
  "available_pool_traffic": "5000"
}

Body

application/x-www-form-urlencoded

Required parameters to retrieve the global traffic pool size.
All parameters must be passed in the request body as application/x-www-form-urlencoded.

signature
string

The session signature obtained from the "Create AUTH-session" call.

Example:

"session_signature_12345"

kvm_id
string

The unique identifier of the KVM VPS.

Example:

"kvm_123456_789012"

valid_until
string

The expiration timestamp for the session, as obtained from the "Create AUTH-session" call.
Ensure that the session is valid and has not expired.

Example:

"1737476000"

Response

Global traffic pool size retrieved successfully.

status
string

The status of the operation.

Example:

"success"

msg
string

Message indicating the status of the traffic pool.

Example:

"traffic_pool exists"

available_pool_traffic
string

The available traffic pool size in GB.

Example:

"5000"