參數名字 | 描述 |
---|---|
operatingsystem_id 選填 |
作業系統 ID Validations:
|
location_id 選填 |
位置範圍 Validations:
|
organization_id 選填 |
組織範圍 Validations:
|
search 選填 |
篩選結果 Validations:
|
order 選填 |
Sort field and order, eg. ‘id DESC’ Validations:
|
page 選填 |
頁數,從 1 開始 Validations:
|
per_page 選填 |
每頁要傳回的結果數量 Validations:
|
Field name | 類型 | Possible values |
---|---|---|
default | true, false | |
family | ||
layout | ||
location | ||
location_id | ||
locked | true, false | |
name | ||
organization | ||
organization_id | ||
snippet | true, false | |
template | ||
vendor |
參數名字 | 描述 |
---|---|
location_id 選填 |
Set the current location context for the request Validations:
|
organization_id 選填 |
Set the current organization context for the request Validations:
|
id 必填 |
Validations:
|
參數名字 | 描述 |
---|---|
location_id 選填 |
Set the current location context for the request Validations:
|
organization_id 選填 |
Set the current organization context for the request Validations:
|
ptable 必填 |
Validations:
|
ptable[name] 必填 |
Validations:
|
ptable[description] 選填 , 允許空值 |
Validations:
|
ptable[layout] 必填 |
Validations:
|
ptable[snippet] 選填 , 允許空值 |
Validations:
|
ptable[audit_comment] 選填 , 允許空值 |
Validations:
|
ptable[locked] 選填 , 允許空值 |
範本是否鎖定並禁止進行編輯 Validations:
|
ptable[os_family] 選填 , 允許空值 |
Validations:
|
ptable[operatingsystem_ids] 選填 , 允許空值 |
與分割表相關連的作業系統 ID 之陣列 Validations:
|
ptable[host_ids] 選填 , 允許空值 |
與分割表相關的主機 ID 陣列 Validations:
|
ptable[hostgroup_ids] 選填 , 允許空值 |
與分割表相關連的主機群組 ID 之陣列 Validations:
|
ptable[location_ids] 選填 , 允許空值 |
將位置取代為特定 ID Validations:
|
ptable[organization_ids] 選填 , 允許空值 |
將組織取代為特定 ID。 Validations:
|
參數名字 | 描述 |
---|---|
location_id 選填 |
Set the current location context for the request Validations:
|
organization_id 選填 |
Set the current organization context for the request Validations:
|
ptable 必填 |
Validations:
|
ptable[name] 選填 |
範本名稱 Validations:
|
ptable[template] 選填 |
template contents including metadata Validations:
|
ptable[location_ids] 選填 , 允許空值 |
將位置取代為特定 ID Validations:
|
ptable[organization_ids] 選填 , 允許空值 |
將組織取代為特定 ID。 Validations:
|
options 選填 |
Validations:
|
options[force] 選填 , 允許空值 |
use if you want update locked templates Validations:
|
options[associate] 選填 , 允許空值 |
determines when the template should associate objects based on metadata, new means only when new template is being created, always means both for new and existing template which is only being updated, never ignores metadata Validations:
|
options[lock] 選填 , 允許空值 |
lock imported templates (false by default) Validations:
|
options[default] 選填 , 允許空值 |
makes the template default meaning it will be automatically associated with newly created organizations and locations (false by default) Validations:
|
參數名字 | 描述 |
---|---|
location_id 選填 |
Set the current location context for the request Validations:
|
organization_id 選填 |
Set the current organization context for the request Validations:
|
version 選填 |
範本版本 Validations:
|
參數名字 | 描述 |
---|---|
location_id 選填 |
Set the current location context for the request Validations:
|
organization_id 選填 |
Set the current organization context for the request Validations:
|
id 必填 |
Validations:
|
ptable 必填 |
Validations:
|
ptable[name] 選填 |
Validations:
|
ptable[description] 選填 , 允許空值 |
Validations:
|
ptable[layout] 選填 |
Validations:
|
ptable[snippet] 選填 , 允許空值 |
Validations:
|
ptable[audit_comment] 選填 , 允許空值 |
Validations:
|
ptable[locked] 選填 , 允許空值 |
範本是否鎖定並禁止進行編輯 Validations:
|
ptable[os_family] 選填 , 允許空值 |
Validations:
|
ptable[operatingsystem_ids] 選填 , 允許空值 |
與分割表相關連的作業系統 ID 之陣列 Validations:
|
ptable[host_ids] 選填 , 允許空值 |
與分割表相關的主機 ID 陣列 Validations:
|
ptable[hostgroup_ids] 選填 , 允許空值 |
與分割表相關連的主機群組 ID 之陣列 Validations:
|
ptable[location_ids] 選填 , 允許空值 |
將位置取代為特定 ID Validations:
|
ptable[organization_ids] 選填 , 允許空值 |
將組織取代為特定 ID。 Validations:
|
參數名字 | 描述 |
---|---|
location_id 選填 |
Set the current location context for the request Validations:
|
organization_id 選填 |
Set the current organization context for the request Validations:
|
id 必填 |
Validations:
|
參數名字 | 描述 |
---|---|
location_id 選填 |
Set the current location context for the request Validations:
|
organization_id 選填 |
Set the current organization context for the request Validations:
|
id 必填 |
Validations:
|
ptable 必填 |
Validations:
|
ptable[name] 必填 |
範本名稱 Validations:
|
參數名字 | 描述 |
---|---|
location_id 選填 |
Set the current location context for the request Validations:
|
organization_id 選填 |
Set the current organization context for the request Validations:
|
id 必填 |
Validations:
|