POST /users/{uid}/appliances/{aid}/bootscripts/{bsid}/bin/{fileName}
Summary
- Method:
POST
- Response Code:
201
- Response Formats:
application/xml
application/json
- Since:
UForge 2.1.06
Uploads a boot script file.
Prior to uploading a boot script file, a bootscript-object
object must be created. Refer to applianceBootScript-create
to understand how to create a new boot script object for an appliance.
- Requires Authentication:
true
- Entitlements Required:
appliance_create
uid
(required): the user name (login name) of theuser-object
bsid
(required): the id of thebootscript-object
fileName
(required): the boot script filename to addaid
(required): the id of theappliance-object
The file to upload.
curl "https://uforge.example.com/api/users/{uid}/appliances/{aid}/bootscripts/{bsid}/bin/{fileName}" -X POST \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"-H "Content-type: application/xml" --data-binary "@binaryFilePath"
appliance-object
applianceBootScript-create
applianceBootScript-delete
applianceBootScript-deleteAll
applianceBootScript-download
applianceBootScript-downloadFile
applianceBootScript-get
applianceBootScript-getAll
applianceBootScript-update
bootscript-object