GET /api/ptables
パーティションテーブル一覧

GET /api/operatingsystems/:operatingsystem_id/ptables
オペレーティングシステムのすべてのパーティションテーブルを表示

GET /api/locations/:location_id/ptables
ロケーションごとのすべてのパーティションテーブルを表示

GET /api/organizations/:organization_id/ptables
組織ごとに、すべてのパーティションテーブルを表示

Params

Param Name Description
operatingsystem_id
Optional

オペレーティングシステムの ID


Value:

Must be String

search
Optional

結果をフィルタ


Value:

Must be String

order
Optional

結果をソート


Value:

Must be String

page
Optional

結果をページ分割


Value:

Must be String

per_page
Optional

リクエストあたりのエントリ数


Value:

Must be String


GET /api/ptables/:id
パーティションテーブルを表示

Params

Param Name Description
id
Required

Value:

Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.


POST /api/ptables
パーティションテーブルの作成

Params

Param Name Description
ptable
Required

Value:

Must be a Hash

ptable[name]
Required

Value:

Must be String

ptable[layout]
Required

Value:

Must be String

ptable[snippet]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be 'true' or 'false'

ptable[audit_comment]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be String

ptable[locked]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

Whether or not the template is locked for editing


Value:

Must be 'true' or 'false'

ptable[os_family]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be String

ptable[operatingsystem_ids]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

パーティションテーブルと関連付けるオペレーティングシステム ID の配列


Value:

Must be an array of any type

ptable[host_ids]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

パーティションテーブルと関連付けるホスト ID の配列


Value:

Must be an array of any type

ptable[hostgroup_ids]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

Array of host group IDs to associate with the partition table


Value:

Must be an array of any type


GET /api/ptables/revision

Params

Param Name Description
version
Optional

テンプレートバージョン


Value:

Must be String


PUT /api/ptables/:id
パーティションテーブルの更新

Params

Param Name Description
id
Required

Value:

Must be String

ptable
Required

Value:

Must be a Hash

ptable[name]
Optional

Value:

Must be String

ptable[layout]
Optional

Value:

Must be String

ptable[snippet]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be 'true' or 'false'

ptable[audit_comment]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be String

ptable[locked]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

Whether or not the template is locked for editing


Value:

Must be 'true' or 'false'

ptable[os_family]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be String

ptable[operatingsystem_ids]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

パーティションテーブルと関連付けるオペレーティングシステム ID の配列


Value:

Must be an array of any type

ptable[host_ids]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

パーティションテーブルと関連付けるホスト ID の配列


Value:

Must be an array of any type

ptable[hostgroup_ids]
Optional , <span class="translation_missing" title="translation missing: ja.apipie.nil_allowed">Nil Allowed</span>

Array of host group IDs to associate with the partition table


Value:

Must be an array of any type


DELETE /api/ptables/:id
パーティションテーブルの削除

Params

Param Name Description
id
Required

Value:

Must be String


POST /api/ptables/:id/clone
テンプレートの複製

Params

Param Name Description
id
Required

Value:

Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

ptable
Required

Value:

Must be a Hash

ptable[name]
Required

テンプレート名


Value:

Must be String