For non-disk files such as custom BIOS files and TPM status files, the file upload and download OpenAPIs provided by SCP and HCI can be used for backup and recovery purposes.
SCP REST API for file upload:
POST /janus/20180725/clusters/{cluster_id}/files/upload
HCI REST APIs for file upload:
GET /hci/vt/api/v1/file/uploadinit
POST /hci/vt/api/v1/file/upload
These two HCI APIs must be used together to complete a file upload. For detailed parameter information, please refer to the OpenAPI documentation of the corresponding version.
SCP REST API for file download:
GET /janus/20180725/clusters/{cluster_id}/files/download