post
/public_api/v1/distributions/get_dist_url
Get the distribution URL for downloading the installation package.
Required license: Cortex XDR Prevent or Cortex XDR Pro per Endpoint
CURL
curl -X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://api-yourfqdn/public_api/v1/distributions/get_dist_url" \
-d '{
"request_data" : {
"distribution_id" : "distribution_id",
"package_type" : "package_type"
}
}'
Response
{
"reply": {
"distribution_url": "<DOWNLOAD_URL>"
}
}
Request
Body
optional
Example:
{"request_data":{"distribution_id":"","package_type":"x86"}}
request_data
required
distribution_id
required
String
Installation package ID.
package_type
required
String
A string representing the type of installation package. Select one of the following valid keywords and values:
upgrade
Package type should match the distribution type or platform:sh
: For Linuxrpm
: For Linuxdeb
: For Linuxpkg
: For Macx86
: For Windowsx64
: For Windows
Responses