GetAvailablePackages
- GetAvailablePackages(platformFilter, typeFilter): Array
-
Retrieves all available deployment packages, optionally filtered by platform and/or package type.
Table 1. Parameters platformFilter
String
Optional platform name filter (e.g., "Windows", "Linux"). Pass NULL to skip filtering
typeFilter
String
Optional package type filter. Pass NULL to skip filtering
ReturnArray of DeploymentPackage objects containing package metadata.
// Get all packages
packages = GetAvailablePackages(null, null);
// Get only Linux packages
linuxPackages = GetAvailablePackages("Linux", null);
for (pkg : packages) {
println("Package: " .. pkg->name .. " v" .. pkg->version .. " (" .. pkg->platform .. ")");
}