Skip to main content

getInstallationLinks

This method returns the installation links and full kits for a package.

Parameters

Parameter

Type

Optional

Description

packageName

String

Yes

The name of the package. If no value is passed, all packages will be returned.

Return value

This method returns an Array containing the list of installation links for the requested package, or for all available packages if none specified explicitly. Each entry in the list has the following fields:

  • packageName - the name of the package for which you need the installation links and kits

  • companyName - the name of the company to which the package belongs

  • companyId - the ID of the above-mentioned company

  • installLinkWindows - the installation link for Windows operating systems

  • installLinkMac - the installation link for macOS operating systems

  • installLinkLinux - the installation link for Linux operating systems

  • fullKitWindowsX32 - the full kit for Windows x32 operating systems

  • fullKitWindowsX64 - the full kit for Windows x64 operating systems

  • fullKitWindowsArm64 - the full kit for Windows x64 operating systems for ARM architecture

  • fullKitLinuxX32 - the full kit for Linux x32 operating systems

  • fullKitLinuxX64 - the full kit for Linux x64 operating systems

  • fullKitLinuxArm64 - the full kit for Linux x64 operating systems for ARM architecture

  • fullKitMac - the full kit for macOS operating systems

  • fullKitMacArm64 - the full kit for macOS operating systems for ARM architecture

Example

Request:

  {
     "params": {
       
       "packageName": "my package"
   },
     "jsonrpc": "2.0",
     "method": "getInstallationLinks",
     "id": "426db9bb-e92a-4824-a21b-bba6b62d0a18"
  }  

Note

API_KEY_ENCODED_BASE64 is your API key encoded using base64.

Response:

 {
     "id": "426db9bb-e92a-4824-a21b-bba6b62d0a18",
     "jsonrpc": "2.0",
     "result": [{
         "packageName":"PackagesAPI1695391314.2838118LYi87FksSq",
         "companyName": "TestC2",,
         
         "installLinkWindows":"https://10.18.150.205/Packages/BSTWIN/0/setupdownloader_[aHR0cHM6Ly9tYWMtMDAtNTAtNTYtOTYtMWYtZTEua2N1bGRhci5jb206ODQ0My9QYWNrYWdlcy9CU1RXSU4vMC8ybmxFNngvaW5zdGFsbGVyLnhtbD9sYW5nPWVuLVVT].exe",
         "installLinkMac":"https://10.18.150.205/Packages/MAC/0/2nlE6x/Bitdefender_for_MAC.dmg",
         "installLinkMacArm":"https://10.18.150.205/Packages/MAC/0/2nlE6x/Bitdefender_for_MAC_ARM.dmg",
         "installLinkMacDownloader":"https://10.18.150.205/Packages/MAC/0/2nlE6x/setup_downloader.dmg",
         "installLinkLinux":"https://10.18.150.205/Packages/NIX/0/2nlE6x/setup_downloader.tar",
         "fullKitWindowsX32":"https://10.18.150.205/api/v1.0/http/downloadPackageFullKit?packageId=650d9e53ac5599df31045d7f&downloadType=19",
         "fullKitWindowsX64":"https://10.18.150.205/api/v1.0/http/downloadPackageFullKit?packageId=650d9e53ac5599df31045d7f&downloadType=20",
         "fullKitWindowsArm64":"https://10.18.150.205/api/v1.0/http/downloadPackageFullKit?packageId=650d9e53ac5599df31045d7f&downloadType=35",
         "fullKitLinuxX32":"https://10.18.150.205/api/v1.0/http/downloadPackageFullKit?packageId=650d9e53ac5599df31045d7f&downloadType=21",
         "fullKitLinuxX64":"https://10.18.150.205/api/v1.0/http/downloadPackageFullKit?packageId=650d9e53ac5599df31045d7f&downloadType=22",
         "fullKitLinuxArm64":"https://10.18.150.205/api/v1.0/http/downloadPackageFullKit?packageId=650d9e53ac5599df31045d7f&downloadType=36",
         "companyName":"PackagesAPI1695391310.4621398PR2EsksWlt",
         "companyId":"650d9e4f2cd3e936350495b7"
      }]
  }  

Note

<gz_ip> is the IP address of GravityZone Control Centerthe management console.

You can use one of the provided URL addresses to download the installation package:

  • If you are using a GZVA Self-Signed certificate.

    curl -fOJ -H "YOUR_API_KEY:" https://gravityzone.bitdefender.com/api/v1.0/http/downloadPackageFullKit?packageId=5645cba6f12a9a8c5e8b4748&downloadType=20  
    
  • If you are not using a GZVA Self-Signed certificate.

    curl -fOJ -H "Authorization: Basic ENCODED_API_KEY" https://gravityzone.bitdefender.com/api/v1.0/http/downloadPackageFullKit?packageId=5f1ecde1be4be6142c3e9b32&downloadType=20  

    Note

    To get your ENCODED_API_KEY, use the following entry:

    echo "YOUR_API_KEY:" | base64