Server Load Api

kebirhost

Verified User
Joined
Jul 8, 2019
Messages
110
Hello,

Could you add to get server loads with api php please?

Thanks,
Melih
 
Hello Melih,

It's already there (json=yes):

- /CMD_API_ADMIN_STATS?json=yes&redirect=yes
- /CMD_API_PROCESS_MONITOR?json=yes&redirect=yes

or (raw text):

- /CMD_API_ADMIN_STATS?redirect=yes
- /CMD_API_PROCESS_MONITOR?redirect=yes
 
Hello Alex,

Yes i found it. I want to as another API question to you:)

I want to change bandwidth or disk quota of an account. When i change it from ip all other things as email, database, domains are getting unlimited.

Could i only change one of these value without changing other package values?

Thanks for kind help,
Melih
 
If the other parameters change to unlimited then you need to pass a list of all parameters. So you will need to get current values into an array, and then send it back with modified values.
 
Hi,

Yes this is hard way i know:)

I am coming from cpanel. I tried to find this. We will do somehow.


Thanks alot,
Melih
 
Back
Top