GET /api/config_templates 200 { "total": 14, "subtotal": 14, "page": 1, "per_page": 20, "search": null, "sort": { "by": null, "order": null }, "results": [ { "snippet": false, "audit_comment": null, "created_at": "2018-07-24 13:08:49 UTC", "updated_at": "2018-07-24 13:08:49 UTC", "id": 1007981701, "name": "centos5_3_pxelinux", "template_kind_id": 452984334, "template_kind_name": "PXELinux" }, { "snippet": false, "audit_comment": null, "created_at": "2018-07-24 13:08:49 UTC", "updated_at": "2018-07-24 13:08:49 UTC", "id": 698706415, "name": "iPXE Dummy Menu", "template_kind_id": 698706415, "template_kind_name": "iPXE" }, { "snippet": false, "audit_comment": null, "created_at": "2018-07-24 13:08:49 UTC", "updated_at": "2018-07-24 13:08:49 UTC", "id": 718456980, "name": "Locked Template", "template_kind_id": 983253650, "template_kind_name": "provision" }, { "snippet": false, "audit_comment": null, "created_at": "2018-07-24 13:08:49 UTC", "updated_at": "2018-07-24 13:08:49 UTC", "id": 104314179, "name": "MyFinish", "template_kind_id": 550103832, "template_kind_name": "finish" }, { "snippet": false, "audit_comment": null, "created_at": "2018-07-24 13:08:49 UTC", "updated_at": "2018-07-24 13:08:49 UTC", "id": 981457253, "name": "MyScript", "template_kind_id": 478250810, "template_kind_name": "script" }, { "snippet": false, "audit_comment": null, "created_at": "2018-07-24 13:08:49 UTC", "updated_at": "2018-07-24 13:08:49 UTC", "id": 943779058, "name": "MyString", "template_kind_id": 698706415, "template_kind_name": "iPXE" }, { "snippet": false, "audit_comment": null, "created_at": "2018-07-24 13:08:49 UTC", "updated_at": "2018-07-24 13:08:49 UTC", "id": 269958254, "name": "MyString2", "template_kind_id": 983253650, "template_kind_name": "provision" }, { "snippet": false, "audit_comment": null, "created_at": "2018-07-24 13:08:49 UTC", "updated_at": "2018-07-24 13:08:49 UTC", "id": 684651467, "name": "PXE Default Menu", "template_kind_id": 710512633, "template_kind_name": null }, { "snippet": false, "audit_comment": null, "created_at": "2018-07-24 13:08:49 UTC", "updated_at": "2018-07-24 13:08:49 UTC", "id": 554905648, "name": "PXEGrub2 global default", "template_kind_id": 701398793, "template_kind_name": "PXEGrub2" }, { "snippet": false, "audit_comment": null, "created_at": "2018-07-24 13:08:49 UTC", "updated_at": "2018-07-24 13:08:49 UTC", "id": 131565194, "name": "PXEGrub Dummy Menu", "template_kind_id": 131565194, "template_kind_name": "PXEGrub" }, { "snippet": false, "audit_comment": null, "created_at": "2018-07-24 13:08:49 UTC", "updated_at": "2018-07-24 13:08:49 UTC", "id": 824224502, "name": "PXEGrub global default", "template_kind_id": 131565194, "template_kind_name": "PXEGrub" }, { "snippet": false, "audit_comment": null, "created_at": "2018-07-24 13:08:49 UTC", "updated_at": "2018-07-24 13:08:49 UTC", "id": 821548108, "name": "PXELinux default local boot", "template_kind_id": 452984334, "template_kind_name": "PXELinux" }, { "snippet": false, "audit_comment": null, "created_at": "2018-07-24 13:08:49 UTC", "updated_at": "2018-07-24 13:08:49 UTC", "id": 352050261, "name": "PXELinux global default", "template_kind_id": 452984334, "template_kind_name": "PXELinux" }, { "snippet": false, "audit_comment": null, "created_at": "2018-07-24 13:08:49 UTC", "updated_at": "2018-07-24 13:08:49 UTC", "id": 56083308, "name": "suse_pxelinux", "template_kind_id": 452984334, "template_kind_name": "PXELinux" } ] }
Param name | Description |
---|---|
operatingsystem_id optional |
ID of operating system Validations:
|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organizations Validations:
|
search optional |
filter results Validations:
|
order optional |
Sort field and order, eg. ‘id DESC’ Validations:
|
page optional |
paginate results Validations:
|
per_page optional |
number of entries per request Validations:
|
Field name | Type | Possible values |
---|---|---|
default | true, false | |
environment | string | |
hostgroup | string | |
kind | string | |
location | string | |
location_id | integer | |
locked | true, false | |
name | string | |
operatingsystem | string | |
organization | string | |
organization_id | integer | |
snippet | true, false | |
template | text | |
vendor | string |