GET /api/ptables
Lister toutes les tables de partition

GET /api/operatingsystems/:operatingsystem_id/ptables
Liste de toutes les tables de partition pour un système d'exploitation

GET /api/locations/:location_id/ptables
Liste de toutes les tables de partition d'une localisation

GET /api/organizations/:organization_id/ptables
Liste de toutes les tables de partition par organisation

Params

Param Name Description
operatingsystem_id
Optional

ID du système d’exploitation


Value: Must be String
search
Optional

filtrer les résultats


Value: Must be String
order
Optional

trier les resultats


Value: Must be String
page
Optional

paginer les resultats


Value: Must be String
per_page
Optional

nombre d’entier par requête


Value: Must be String

GET /api/ptables/:id
Afficher une table de partition

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
Créer une table de partition

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

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

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

Etat du verrou d’édition du modèle


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

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

Tableau des ID de systèmes d’exploitation associés à la table de partition


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

Tableau des ID des hôtes à associer à la table de partition


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

Tableau des ID des groupes d’hôtes à associer à la table de partition


Value: Must be an array of any type

GET /api/ptables/revision

Params

Param Name Description
version
Optional

version de modèle


Value: Must be String

PUT /api/ptables/:id
Mise à jour d'une table de partition

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

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

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

Etat du verrou d’édition du modèle


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

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

Tableau des ID de systèmes d’exploitation associés à la table de partition


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

Tableau des ID des hôtes à associer à la table de partition


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

Tableau des ID des groupes d’hôtes à associer à la table de partition


Value: Must be an array of any type

DELETE /api/ptables/:id
Supprimer une table de partition

Params

Param Name Description
id
Required

Value: Must be String

POST /api/ptables/:id/clone
Cloner un modèle

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

Nom de modèle


Value: Must be String