POST /distributions/{oid}/{name}/{version}
Summary
- Method:
POST
- Response Code:
201
- Response Formats:
application/xml
application/json
- Since:
UForge 1.0
Registers a new operating system in an organization.
Note
This POST request does not require any HTTP body. All the information is passed via the URL request as a set of query parameters.
- Requires Authentication:
true
- Entitlements Required:
org_os_administrate
name
(required): the name of the operating systemoid
(required): the id of theorg-object
version
(required): the version of the operating system
None
curl "https://uforge.example.com/api/distributions/{oid}/{name}/{version}" -X POST \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"
distribution-object
osAccess-update
osLicense-download
osLogo-download
osLogo-downloadFile
osPkgUpdates-getAll
osPkg-get
osPkg-getAll
os-get
os-getAll
os-update