Skip to content

Latest commit

 

History

History
60 lines (41 loc) · 1.24 KB

osPkg_getAll.rst

File metadata and controls

60 lines (41 loc) · 1.24 KB

osPkg_getAll

.. function:: GET /distributions/{id}/pkgs

Summary

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

Retrieves all the native packages for an operating system.

A list of :ref:`package-object` objects are returned.

You can use a search criteria to retrieve a subset of these packages.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: appliance_create

URI Parameters

HTTP Request Body Parameters

None

Example Request

curl "https://uforge.example.com/api/distributions/{id}/pkgs" -X GET \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"
.. seealso::

         * :ref:`distribprofile-object`
         * :ref:`osAccess-update`
         * :ref:`osLicense-download`
         * :ref:`osLogo-download`
         * :ref:`osLogo-downloadFile`
         * :ref:`osPkgUpdates-getAll`
         * :ref:`osPkg-get`
         * :ref:`osPkg-getAll`
         * :ref:`os-create`
         * :ref:`os-get`
         * :ref:`os-update`
         * :ref:`package-object`