System
Order now | Download | FAQ
System status
Request Structure: https://<puqvpnvp>/api/v1/system/status
Method: GET
Example:
curl \
-b "access_hash=7effe99173b87e9cdebdab66d6fb23c9b244af250cb09b5dd36d8f80d14a8510b2d00bcba7290252" \
-X GET https://dev.softkeel.com/api/v1/system/status
Response example:
{
"error" : "",
"msg" : {
"count_accounts" : 550,
"count_accounts_available" : 550,
"count_wireguard" : 100,
"license" : "2023-11-13T18:38:43+01:00",
"license_valid" : true,
"status" : "Loading (Wireguard delete old interfaces)",
"version" : "1.0"
},
"status" : "success"
}
Errors:
-Not authorized
System info
Request Structure: https://<puqvpnvp>/api/v1/system/info
Method: GET
Example:
curl \
-b "access_hash=7effe99173b87e9cdebdab66d6fb23c9b244af250cb09b5dd36d8f80d14a8510b2d00bcba7290252" \
-X GET https://dev.softkeel.com/api/v1/system/info
Response example:
{
"error" : "",
"msg" : {
"cpu_model" : "Common KVM processor",
"cpu_threads" : "4",
"cpu_used_load1" : "0.69",
"cpu_used_load15" : "0.20",
"cpu_used_load5" : "0.28",
"hostname" : "dev.softkeel.com",
"memory_free" : "218",
"memory_total" : "7956",
"memory_used" : "7737",
"memory_used_percent" : "97",
"os_architecture" : "amd64",
"os_name" : "Debian GNU/Linux 11 (bullseye)",
"timezone" : "Europe/Warsaw"
},
"status" : "success"
}
Errors:
-Not authorized
System reload
Request Structure: https://<puqvpnvp>/api/v1/system/reload
Method: PUT
Example:
curl \
-b "access_hash=eda121857897bcf0e4cdf5a3eaf957f35ccb62d39d5bc0bfbfb6d31644eee3cd7f8365e71ad94a60" \
-X PUT https://dev.softkeel.com/api/v1/system/reload
Response example:
{
"error" : "",
"msg" : "success",
"status" : "success"
}
Errors:
-Not authorized
-PUQVPNCP status not OK
No Comments