API Description | API Path |
---|---|
Get list of bundle-ids which are available in repository or in-progressGet list of bundle-ids which are available in repository or in-progress |
GET /api/v1/repository/bundles
|
Upload bundle using remote fileUpload 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/<bundle-id>/upload-status. The upload is complete when the status is SUCCESS. |
POST /api/v1/repository/bundles
|
Upload bundleUpload 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. |
POST /api/v1/repository/bundles?action=upload
|
Cancel bundle uploadCancel upload of bundle. This API works only when bundle upload is in-progress and will not work during post-processing of bundle. If bundle upload is in-progress, then the API call returns http OK response after cancelling the upload and deleting partially uploaded bundle. |
POST /api/v1/repository/bundles/{bundle-id}?action=cancel_upload
|
Get bundle upload statusGet uploaded bundle upload status |
GET /api/v1/repository/bundles/{bundle-id}/upload-status
|
Get information of the OVF which will be getting deployed.Get information of the OVF for specified appliance which is present in repository and will be used to deploy new VM. |
GET /api/v1/repository/bundles/ovf-deploy-info
|
Checks bundle upload permissionsChecks whether bundle upload is allowed on given node for given appliance. There are different kinds of checks for different appliances. Some of the checks for Intelligence appliance are as follows: 1. Is bundle upload-allowed on given node 2. Is bundle upload already in-progress |
GET /api/v1/repository/bundles/upload-allowed
|