System Administration > Lifecycle Management > Upgrade > Bundles

Fetch upgrade bundle from given url

Fetches the upgrade bundle from url. The call returns after fetch is initiated.
Check status by periodically retrieving upgrade bundle upload status
using GET /upgrade/bundles//upload-status.
The upload is complete when the status is SUCCESS.

Request:

Method:
POST
URI Path(s):
/api/v1/upgrade/bundles
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
UpgradeBundleFetchRequest+

Example Request:

POST https://<nsx-mgr>/api/v1/upgrade/bundles { "url" : "https://<bundle-url>" }

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
UpgradeBundleId+

Example Response:

{ "bundle_id" : "22000123456" }

Required Permissions:

crud

Feature:

utilities_upgrade

Additional Errors: