Examples

GET /api/operatingsystems/1073012828-RHEL%206-1/os_default_templates
200
{
  "total": 6,
  "subtotal": 6,
  "page": 1,
  "per_page": 20,
  "search": null,
  "sort": {
    "by": null,
    "order": null
  },
  "results": [
    {
      "id": 51848956,
      "provisioning_template_id": 698706415,
      "provisioning_template_name": "iPXE Dummy Menu",
      "template_kind_id": 698706415,
      "template_kind_name": "iPXE",
      "operatingsystem_id": 1073012828,
      "operatingsystem_name": "RHEL 6.1",
      "config_template_id": 698706415,
      "config_template_name": "iPXE Dummy Menu"
    },
    {
      "id": 113629430,
      "provisioning_template_id": 981457253,
      "provisioning_template_name": "MyScript",
      "template_kind_id": 478250810,
      "template_kind_name": "script",
      "operatingsystem_id": 1073012828,
      "operatingsystem_name": "RHEL 6.1",
      "config_template_id": 981457253,
      "config_template_name": "MyScript"
    },
    {
      "id": 281110143,
      "provisioning_template_id": 1007981701,
      "provisioning_template_name": "centos5_3_pxelinux",
      "template_kind_id": 710512633,
      "template_kind_name": null,
      "operatingsystem_id": 1073012828,
      "operatingsystem_name": "RHEL 6.1",
      "config_template_id": 1007981701,
      "config_template_name": "centos5_3_pxelinux"
    },
    {
      "id": 298486374,
      "provisioning_template_id": 269958254,
      "provisioning_template_name": "MyString2",
      "template_kind_id": 983253650,
      "template_kind_name": "provision",
      "operatingsystem_id": 1073012828,
      "operatingsystem_name": "RHEL 6.1",
      "config_template_id": 269958254,
      "config_template_name": "MyString2"
    },
    {
      "id": 980190962,
      "provisioning_template_id": 943779058,
      "provisioning_template_name": "MyString",
      "template_kind_id": 698706415,
      "template_kind_name": "iPXE",
      "operatingsystem_id": 1073012828,
      "operatingsystem_name": "RHEL 6.1",
      "config_template_id": 943779058,
      "config_template_name": "MyString"
    },
    {
      "id": 1018350795,
      "provisioning_template_id": 131565194,
      "provisioning_template_name": "PXEGrub Dummy Menu",
      "template_kind_id": 131565194,
      "template_kind_name": "PXEGrub",
      "operatingsystem_id": 1073012828,
      "operatingsystem_name": "RHEL 6.1",
      "config_template_id": 131565194,
      "config_template_name": "PXEGrub Dummy Menu"
    }
  ]
}

Params

Param name Description
location_id
optional

Scope by locations

Validations:

  • Must be a Integer

organization_id
optional

Scope by organizations

Validations:

  • Must be a Integer

operatingsystem_id
optional

ID of operating system

Validations:

  • Must be a String

config_template_id
optional

ID of provisioning template

Validations:

  • Must be a String

provisioning_template_id
optional

ID of provisioning template

Validations:

  • Must be a String

page
optional

paginate results

Validations:

  • Must be a String

per_page
optional

number of entries per request

Validations:

  • Must be a String