CMD_IP_MANAGER?json=yes to include extra IP info

Version 1.61.0

Feature
Finished

The new global shared IP type will now get it's own column on the CMD_IP_MANAGER table (both GUI and json) When json=yes is passed, an extra column called "extra" will be added to the end, containing a json sub-array of info, currently with "creators", a json array of Admins/Resellers who are on this IP. If an IP has zero creators no it, the "creators" array will be absent. Eg: "ips": { ... "3": { "ip": "1.2.3.4", "status": "shared", "global": "yes", "reseller": "admin", "users": "0", "nameserver": "", "netmask": "255.255.255.0", "extra": { "creators": [ "admin", "reseller2" ] } }, ...

Interested to try DirectAdmin? Get a 30-day Free Trial!