GET /api/ptables
Elenca tutte le tabelle delle partizioni

GET /api/operatingsystems/:operatingsystem_id/ptables
Elenca tutte le tabelle delle partizioni per un sistema operativo

GET /api/locations/:location_id/ptables
List all partition tables per location

GET /api/organizations/:organization_id/ptables
List all partition tables per organization

Params

Param Name Description
operatingsystem_id
Optional

ID del sistema operativo


Value:

Must be String

search
Optional

filtra i risultati


Value:

Must be String

order
Optional

ordina risultati


Value:

Must be String

page
Optional

paginazione risultati


Value:

Must be String

per_page
Optional

numero di voci per richiesta


Value:

Must be String


GET /api/ptables/:id
Mostra una tabella delle partizioni

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
Crea una tabella delle partizioni

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: it.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be 'true' or 'false'

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

Value:

Must be String

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

Indica se il template è stato bloccato per la modifica


Value:

Must be 'true' or 'false'

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

Value:

Must be String

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

Array of operating system IDs to associate with the partition table


Value:

Must be an array of any type

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

Array of host IDs to associate with the partition table


Value:

Must be an array of any type

ptable[hostgroup_ids]
Optional , <span class="translation_missing" title="translation missing: it.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

versione template


Value:

Must be String


PUT /api/ptables/:id
Aggiorna una tabella delle partizioni

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: it.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be 'true' or 'false'

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

Value:

Must be String

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

Indica se il template è stato bloccato per la modifica


Value:

Must be 'true' or 'false'

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

Value:

Must be String

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

Array of operating system IDs to associate with the partition table


Value:

Must be an array of any type

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

Array of host IDs to associate with the partition table


Value:

Must be an array of any type

ptable[hostgroup_ids]
Optional , <span class="translation_missing" title="translation missing: it.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
Cancella una tabella delle partizioni

Params

Param Name Description
id
Required

Value:

Must be String


POST /api/ptables/:id/clone
Clone a template

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

nome template


Value:

Must be String