GET /api/common_parameters
Lister les paramètres globaux

Params

Param Name Description
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/common_parameters/:id
Afficher un paramètre gobal

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/common_parameters
Créer un paramètre global

Params

Param Name Description
common_parameter
Required

Value: Must be a Hash
common_parameter[name]
Required

Value: Must be String
common_parameter[value]
Required

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

Value: Must be one of: true, false.

PUT /api/common_parameters/:id
Mise à jour d'un paramètre global

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.
common_parameter
Required

Value: Must be a Hash
common_parameter[name]
Optional

Value: Must be String
common_parameter[value]
Optional

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

Value: Must be one of: true, false.

DELETE /api/common_parameters/:id
Supprimer un paramètre global

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.