System Administration >
Configuration
>
NSX Intelligence
>
Repository
>
Bundles
Upload bundle using remote file
Upload the bundle from remote bundle URL. The call returns after fetch is initiated.
Check status by periodically retrieving bundle upload status
using GET /repository/bundles/
/upload-status.
The upload is complete when the status is SUCCESS.
Request:
Method:
POST
URI Path(s):
/api/v1/repository/bundles
Request Headers:
n/a
Query Parameters:
BundleUploadParameters
+
BundleUploadParameters
(
schema
)
Name
Description
Type
Notes
file_type
Type of file
Type of file which will be uploaded
string
Required
Enum: OVA
product
Name of the product
Name of the product for which upload is performed
string
Required
Enum: INTELLIGENCE
Request Body:
RemoteBundleUrl
+
RemoteBundleUrl
(
schema
)
Name
Description
Type
Notes
url
URL of remote bundle
URL for uploading remote bundle
string
Required
Example Request:
POST https://<nsx-mgr>/api/v1/repository/bundles?product=INTELLIGENCE&file_type=OVA { "url" : "https://<bundle-url>" }
Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
BundleId
+
BundleId
(
schema
)
Name
Description
Type
Notes
bundle_id
Bundle Id
Identifier of bundle upload
string
Readonly
Example Response:
{ "bundle_id" : "1000014667965" }
Required Permissions:
crud
Feature:
nsx_intelligence_cluster_node_deployment
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