System Administration >
Configuration
>
NSX Intelligence
>
Repository
>
Bundles
Upload bundle
Upload the bundle. This call returns after upload is completed.
You can check bundle processing status periodically by retrieving
bundle upload-status to find out if the upload and processing is completed.
Request:
Method:
POST
URI Path(s):
/api/v1/repository/bundles?action=upload
Request Headers:
n/a
Query Parameters:
LocalBundlePath
+
LocalBundlePath
(
schema
)
Name
Description
Type
Notes
file
Local bundle
multipart_file
Required
file_type
Type of file
Type of file which will be uploaded.
string
Required
Enum: OVA
product
Name of the appliance
Name of the appliance for which upload is performed.
string
Required
Enum: SAMPLE, ALB_CONTROLLER, INTELLIGENCE
Request Body:
n/a
Example Request:
POST https://<nsx-mgr>/api/v1/repository/bundles?action=upload&product=INTELLIGENCE&file_type=OVA
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:
nodes_transport_nodes
Additional Errors:
401 Unauthorized
404 Not Found
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
412 Precondition Failed
500 Internal Server Error
503 Service Unavailable