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
+
UpgradeBundleFetchRequest
(
schema
)
Name
Description
Type
Notes
url
URL of upgrade bundle
URL for uploading upgrade bundle
string
Required
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
+
UpgradeBundleId
(
schema
)
Name
Description
Type
Notes
bundle_id
Bundle Id of upgrade bundle uploaded
Identifier of bundle upload
string
Readonly
Example Response:
{ "bundle_id" : "22000123456" }
Required Permissions:
crud
Feature:
utilities_upgrade
Additional Errors:
401 Unauthorized
404 Not Found
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
500 Internal Server Error
503 Service Unavailable