Listing user packages with one API call?

Saeven

Verified User
Joined
Jun 29, 2003
Messages
76
Hey everyone.

Is there an alternative to calling CMD_API_PACKAGES_USER to get the list[] array, and then calling CMD_API_PACKAGES_USER with the package parameter for each package, to get complete package details?

In a perfect world, there'd exist a call that could return a singular object with all the data, e.g.:

JSON:
{
    "packages": {
        "package1" : {
            "aftp": 1,
            "cgi": 0          
        },
        "package2" : {
            "aftp": 1,
            "cgi": 1  
        }
    }
}

Does such a creature exist? Been scouring the API page, but can't seem to find an alternative.

Appreciated!
Alex
 
Back
Top