System Administration > Configuration > NSX Intelligence > Repository > Bundles

Checks bundle upload permissions

Checks whether bundle upload is allowed on given node for given product.
There are different kinds of checks for different products. Some of the
checks for Intelligence product are as follows:
1. Is bundle upload-allowed on given node
2. Is bundle upload already in-progress
3. Is Intelliegnce node deployment in-progress
4. Is Intelliegnce node upgrade in-progress

Request:

Method:
GET
URI Path(s):
/api/v1/repository/bundles/upload-allowed
Request Headers:
n/a
Query Parameters:
ProductType+
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/repository/bundles/upload-allowed?product=INTELLIGENCE

Successful Response:

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

Example Response:

{ "upload_allowed" : false "reason" : "Upload is not allowed as upgrade is in-progress.” }

Required Permissions:

read

Feature:

nsx_intelligence_cluster_node_deployment

Additional Errors: