Uploads an archive file and extracts it to the required location on the edge host.
POSThttps://edge-host-ip:5080/v1/edge-mgmt/edgehosts/current/actions/upload-content
Uploads an archive file and extracts it to the required location on the edge host.
Request
- multipart/form-data
Body
required
uploadFilebinaryrequired
The archive file to be uploaded.
signaturebinary
The signature for the corresponding archive file to be uploaded.
Responses
- 201
- 500
Created successfully.
- application/json
- Schema
- Example (from schema)
Schema
messagestring
uploadPathstring
{
"message": "string",
"uploadPath": "string"
}
Internal server error
- application/json
- Schema
- Example (from schema)
Schema
codestring
detailsobject
messagestring
refstring
{
"code": "string",
"details": {},
"message": "string",
"ref": "string"
}
- curl
- python
- go
- nodejs
- java
- CURL
curl -L -X POST 'https://edge-host-ip:5080/v1/edge-mgmt/edgehosts/current/actions/upload-content' \
-H 'Content-Type: multipart/form-data' \
-H 'Accept: application/json'