GET /api/bookmarks
Afficher tous les marques pages

Paramètres

Nom du paramètre Description
search
optionel

filtrer les résultats

Validations:

  • Must be a String

order
optionel

trier les resultats

Validations:

  • Must be a String

page
optionel

paginer les résultats

Validations:

  • Must be a String

per_page
optionel

nombre d'entier par requête

Validations:

  • Must be a String


GET /api/bookmarks/:id
Afficher un marque page

Paramètres

Nom du paramètre Description
id
requis

Validations:

  • 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/bookmarks
Créer un marque-page

Paramètres

Nom du paramètre Description
bookmark
requis

Validations:

  • Must be a Hash

bookmark[name]
requis

Validations:

  • Must be a String

bookmark[controller]
requis

Validations:

  • Must be a String

bookmark[query]
requis

Validations:

  • Must be a String

bookmark[public]
optionel , nil autorisé

Validations:

  • Must be one of: true, false, 1, 0


PUT /api/bookmarks/:id
Mise à jour d'un marque page

Paramètres

Nom du paramètre Description
id
requis

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

bookmark
requis

Validations:

  • Must be a Hash

bookmark[name]
optionel

Validations:

  • Must be a String

bookmark[controller]
optionel

Validations:

  • Must be a String

bookmark[query]
optionel

Validations:

  • Must be a String

bookmark[public]
optionel , nil autorisé

Validations:

  • Must be one of: true, false, 1, 0


DELETE /api/bookmarks/:id
Supprimer un marque page

Paramètres

Nom du paramètre Description
id
requis

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.