Skip to content

Latest commit

 

History

History
55 lines (38 loc) · 1.21 KB

osTemplatePkgs_get.rst

File metadata and controls

55 lines (38 loc) · 1.21 KB

osTemplatePkgs_get

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

Summary

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

Retrieves the list of native packages for an OS template.

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}/profiles/{prid}/pkgs" -X GET \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"
.. seealso::

         * :ref:`appliance-object`
         * :ref:`distribprofile-object`
         * :ref:`distribution-object`
         * :ref:`linuxprofile-object`
         * :ref:`osTemplate-create`
         * :ref:`osTemplate-delete`
         * :ref:`osTemplate-get`
         * :ref:`osTemplate-getAll`
         * :ref:`osTemplate-update`
         * :ref:`windowsprofile-object`