GET /api/ptables
Enumera todas las tablas de particiones

GET /api/operatingsystems/:operatingsystem_id/ptables
Enumerar las tablas de particiones para un sistema operativo

GET /api/locations/:location_id/ptables
Enumerar todas las tablas de particiones según ubicación

GET /api/organizations/:organization_id/ptables
Enumerar todas las tablas de particiones según organización

Params

Param Name Description
operatingsystem_id
Optional

ID del sistema operativo


Value: Must be String
search
Optional

filtrar resultados


Value: Must be String
order
Optional

ordenar resultados


Value: Must be String
page
Optional

paginar resultados


Value: Must be String
per_page
Optional

número de entradas por petición


Value: Must be String

GET /api/ptables/:id
Mostrar una tabla de particiones

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
Crear una tabla de particiones

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

Value: Must be 'true' or 'false'
ptable[audit_comment]
Optional , <span class="translation_missing" title="translation missing: es.apipie.nil_allowed">Nil Allowed</span>

Value: Must be String
ptable[locked]
Optional , <span class="translation_missing" title="translation missing: es.apipie.nil_allowed">Nil Allowed</span>

Si está o no la plantilla bloqueada para editar


Value: Must be 'true' or 'false'
ptable[os_family]
Optional , <span class="translation_missing" title="translation missing: es.apipie.nil_allowed">Nil Allowed</span>

Value: Must be String
ptable[operatingsystem_ids]
Optional , <span class="translation_missing" title="translation missing: es.apipie.nil_allowed">Nil Allowed</span>

Colección de ID de sistemas operativos a asociar con la tabla de particiones


Value: Must be an array of any type
ptable[host_ids]
Optional , <span class="translation_missing" title="translation missing: es.apipie.nil_allowed">Nil Allowed</span>

Colección de ID de host a asociar con la tabla de partición


Value: Must be an array of any type
ptable[hostgroup_ids]
Optional , <span class="translation_missing" title="translation missing: es.apipie.nil_allowed">Nil Allowed</span>

Colección de ID de grupos de hosts a asociar con la tabla de partición


Value: Must be an array of any type

GET /api/ptables/revision

Params

Param Name Description
version
Optional

version de plantilla


Value: Must be String

PUT /api/ptables/:id
Actualizar una tabla de particiones

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

Value: Must be 'true' or 'false'
ptable[audit_comment]
Optional , <span class="translation_missing" title="translation missing: es.apipie.nil_allowed">Nil Allowed</span>

Value: Must be String
ptable[locked]
Optional , <span class="translation_missing" title="translation missing: es.apipie.nil_allowed">Nil Allowed</span>

Si está o no la plantilla bloqueada para editar


Value: Must be 'true' or 'false'
ptable[os_family]
Optional , <span class="translation_missing" title="translation missing: es.apipie.nil_allowed">Nil Allowed</span>

Value: Must be String
ptable[operatingsystem_ids]
Optional , <span class="translation_missing" title="translation missing: es.apipie.nil_allowed">Nil Allowed</span>

Colección de ID de sistemas operativos a asociar con la tabla de particiones


Value: Must be an array of any type
ptable[host_ids]
Optional , <span class="translation_missing" title="translation missing: es.apipie.nil_allowed">Nil Allowed</span>

Colección de ID de host a asociar con la tabla de partición


Value: Must be an array of any type
ptable[hostgroup_ids]
Optional , <span class="translation_missing" title="translation missing: es.apipie.nil_allowed">Nil Allowed</span>

Colección de ID de grupos de hosts a asociar con la tabla de partición


Value: Must be an array of any type

DELETE /api/ptables/:id
Borrar una tabla de particiones

Params

Param Name Description
id
Required

Value: Must be String

POST /api/ptables/:id/clone
Clonar una plantilla

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

nombre de plantilla


Value: Must be String