Hi there,
I was wondering whether there is an api available that I can use in my cPanel plugin to get the package options or account options? In WHM we've got the Accounts::accountsummary api that we can use to get all the info on a given account, but for cPanel (i checked Api v1,v2, and UAPI) there doesn't seem to be a way for my plugin to retrieve this info.
This is a bit of an issue, as I have certain limits in the package configuration (similar to max number of SQL databases) that I need to enforce in the frontend, but I can't do this if I don't know how many the user is allowed to have.
Any hints / tips on this?
I was wondering whether there is an api available that I can use in my cPanel plugin to get the package options or account options? In WHM we've got the Accounts::accountsummary api that we can use to get all the info on a given account, but for cPanel (i checked Api v1,v2, and UAPI) there doesn't seem to be a way for my plugin to retrieve this info.
This is a bit of an issue, as I have certain limits in the package configuration (similar to max number of SQL databases) that I need to enforce in the frontend, but I can't do this if I don't know how many the user is allowed to have.
Any hints / tips on this?