Server Load Api

kebirhost

Verified User
Joined
Jul 8, 2019
Messages
96
Hello,

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

Thanks,
Melih
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
14,255
Location
GMT +7.00
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
 

kebirhost

Verified User
Joined
Jul 8, 2019
Messages
96
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
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
14,255
Location
GMT +7.00
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.
 

kebirhost

Verified User
Joined
Jul 8, 2019
Messages
96
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
 
Top