PUT /distributions/{id}
Summary
- Method:
PUT
- Response Code:
200
- Response Formats:
application/xml
application/json
- Since:
UForge 1.0
Updates the meta-data information of an operating system.
Please refer to distribprofile-object
for a complete list of all the os
attributes.
- Requires Authentication:
true
- Entitlements Required:
org_os_administrate
id
(required): the id of theorg-object
A distribution-object
object
curl "https://uforge.example.com/api/distributions/{id}" -X PUT \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"-H "Content-type: application/xml" --data-binary "@representation.xml"
Example of representation.xml content (the request body):
<ns0:distribution xmlns:ns0="http://www.usharesoft.com/uforge">
<active>false</active>
</ns0:distribution>
distribution-object
osAccess-update
osLicense-download
osLogo-download
osLogo-downloadFile
osPkgUpdates-getAll
osPkg-get
osPkg-getAll
os-create
os-get
os-getAll