POST /users/{uid}/appliances/{aid}/clones
Summary
- Method:
POST
- Response Code:
201
- Response Formats:
application/xml
application/json
- Since:
UForge 1.0
Creates a new appliance by cloning all the meta-data of an existing appliance.
A new appliance name
and version
is required for the new appliance
- Requires Authentication:
true
- Entitlements Required:
appliance_create
uid
(required): the id of theuser-object
aid
(required): the id of theappliance-object
to update
A appliance-object
object
curl "https://uforge.example.com/api/users/{uid}/appliances/{aid}/clones" -X POST \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml" --data-binary "@representation.xml"
Example of representation.xml content (the request body):
<ns0:appliance xmlns:ns0="http://www.usharesoft.com/uforge">
<name>Appliance Clone Example</name>
<orgUri>orgs/1</orgUri>
<projects></projects>
<version>1.0</version>
</ns0:appliance>
appliance-object
applianceLogo-delete
applianceLogo-download
applianceLogo-downloadFile
applianceLogo-upload
applianceMySoftware-getAll
applianceProject-getAll
appliance-create
appliance-delete
appliance-get
appliance-getAll
appliance-update
user-object