Skip to content

Latest commit

 

History

History
59 lines (41 loc) · 1.33 KB

os_create.rst

File metadata and controls

59 lines (41 loc) · 1.33 KB

os_create

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.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: org_os_administrate

URI Parameters

  • name (required): the name of the operating system
  • oid (required): the id of the org-object
  • version (required): the version of the operating system

HTTP Request Body Parameters

None

Example Request

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