Skip to content

Latest commit

 

History

History
70 lines (47 loc) · 1.55 KB

orgOS_getAll.rst

File metadata and controls

70 lines (47 loc) · 1.55 KB

orgOS_getAll

GET /orgs/{oid}/distributions

Summary

  • Method: GET
  • Response Code: 200 / 304
  • Response Formats: application/xml application/json
  • Since: UForge 3.2

Retrieves all the operating systems for an organization.

A list of distribution-object objects are returned. You can use a set of query parameters to retrieve a subset of these operating systems:

  • name: filter by operating system name, for example CentOS
  • version: filter by operating system version, for example 7.0
  • arch: filter by operating system architecture, for example x86

Security Summary

  • Requires Authentication: true
  • Entitlements Required: appliance_create

URI Parameters

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

HTTP Request Body Parameters

None

Example Request

curl "https://uforge.example.com/api/orgs/{oid}/distributions" -X GET \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"
  • distribution-object
  • license-object
  • org-object
  • orgCompany-getAll
  • orgMember-getAll
  • orgMember-remove
  • orgMember-update
  • orgOSWindows-add
  • orgOSWindows-delete
  • orgOSWindows-getAll
  • orgOS-add
  • orgOS-update
  • org-create
  • org-get
  • org-getAll
  • user-object