GET /api/filters
Lister tous les filtres

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/filters/:id
Afficher un filtre

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/filters
Créer un filtre

Params

Param Name Description
filter
Required

Value: Must be a Hash
filter[role_id]
Required

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

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

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

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

Value: Must be an array of any type

PUT /api/filters/:id
Mise à jour d'un filtre

Params

Param Name Description
id
Required

Value: Must be String
filter
Required

Value: Must be a Hash
filter[role_id]
Optional

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

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

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

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

Value: Must be an array of any type

DELETE /api/filters/:id
Supprimer un filtre

Params

Param Name Description
id
Required

Value: Must be String