Skip to content

Latest commit

 

History

History
58 lines (39 loc) · 1.4 KB

osTemplate_getAll.rst

File metadata and controls

58 lines (39 loc) · 1.4 KB

osTemplate_getAll

GET /distributions/{id}/profiles

Summary

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

Retrieves all the templates available for an operating system. An OS template groups together packages from the operating system that can be re-used in as an OS profile when creating an managing appliances.

A list of distribution-object objects are returned.

A search criteria can be used to retrieve a subset of these templates.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: appliance_create

URI Parameters

  • id (required): the id of the distribution-object

HTTP Request Body Parameters

None

Example Request

curl "https://uforge.example.com/api/distributions/{id}/profiles" -X GET \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"
  • appliance-object
  • distribprofile-object
  • distribution-object
  • linuxprofile-object
  • osTemplatePkgs-get
  • osTemplate-create
  • osTemplate-delete
  • osTemplate-get
  • osTemplate-update
  • windowsprofile-object