Skip to content

Latest commit

 

History

History
57 lines (40 loc) · 1.17 KB

osPkg_get.rst

File metadata and controls

57 lines (40 loc) · 1.17 KB

osPkg_get

GET /distributions/{id}/pkgs/{pid}

Summary

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

Retrieves the meta-data of a package from an operating system.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: appliance_create

URI Parameters

  • pid (required): the id of the package-object
  • id (required): the id of the distribprofile-object

HTTP Request Body Parameters

None

Example Request

curl "https://uforge.example.com/api/distributions/{id}/pkgs/{pid}" -X GET \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"
  • distribprofile-object
  • osAccess-update
  • osLicense-download
  • osLogo-download
  • osLogo-downloadFile
  • osPkgUpdates-getAll
  • osPkg-get
  • osPkg-getAll
  • os-create
  • os-getAll
  • os-update
  • package-object