Skip to content

Latest commit

 

History

History
71 lines (49 loc) · 1.5 KB

orgOS_add.rst

File metadata and controls

71 lines (49 loc) · 1.5 KB

orgOS_add

POST /orgs/{oid}/distributions

Summary

  • Method: POST
  • Response Code: 201
  • Response Formats: application/xml application/json
  • Since: N/A

Registers a new operating system to an organization.

Please refer to distribution-object for a complete list of all the os attributes.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: org_os_administrate

URI Parameters

  • oid (required): the id of the org-object

HTTP Request Body Parameters

A distribution-object object

Example Request

curl "https://uforge.example.com/api/orgs/{oid}/distributions" -X POST \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml" --data-binary "@representation.xml"

Example of representation.xml content (the request body):

  • distribution-object
  • license-object
  • org-object
  • orgCompany-getAll
  • orgMember-getAll
  • orgMember-getAll
  • orgMember-remove
  • orgMember-remove
  • orgMember-update
  • orgMember-update
  • orgOSWindows-add
  • orgOSWindows-delete
  • orgOSWindows-getAll
  • orgOS-getAll
  • orgOS-update
  • org-create
  • org-get
  • org-getAll
  • user-object