GET /api/bookmarks
Elenca tutti i segnalibri

Parametri

Nome parametro Descrizione
location_id
opzionale

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opzionale

Set the current organization context for the request

Validations:

  • Must be a Integer

search
opzionale

filtra i risultati

Validations:

  • Must be a String

order
opzionale

Sort field and order, eg. ‘id DESC’

Validations:

  • Must be a String

page
opzionale

Numero pagina, iniziando da 1

Validations:

  • Must be a number.

per_page
opzionale

Numero di risultati per pagina da ritornare

Validations:

  • Must be a number.

Search fields

Field name Tipo Possible values
controller
name

GET /api/bookmarks/:id
Mostra un segnalibro

Parametri

Nome parametro Descrizione
location_id
opzionale

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opzionale

Set the current organization context for the request

Validations:

  • Must be a Integer

id
richiesto

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
Crea un segnalibro

Parametri

Nome parametro Descrizione
location_id
opzionale

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opzionale

Set the current organization context for the request

Validations:

  • Must be a Integer

bookmark
richiesto

Validations:

  • Must be a Hash

bookmark[name]
richiesto

Validations:

  • Must be a String

bookmark[controller]
richiesto

Validations:

  • Must be a String

bookmark[query]
richiesto

Validations:

  • Must be a String

bookmark[public]
opzionale , consentito nil

Validations:

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


PUT /api/bookmarks/:id
Aggiorna un segnalibro

Parametri

Nome parametro Descrizione
location_id
opzionale

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opzionale

Set the current organization context for the request

Validations:

  • Must be a Integer

id
richiesto

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
richiesto

Validations:

  • Must be a Hash

bookmark[name]
opzionale

Validations:

  • Must be a String

bookmark[controller]
opzionale

Validations:

  • Must be a String

bookmark[query]
opzionale

Validations:

  • Must be a String

bookmark[public]
opzionale , consentito nil

Validations:

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


DELETE /api/bookmarks/:id
Elimina un segnalibro

Parametri

Nome parametro Descrizione
location_id
opzionale

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opzionale

Set the current organization context for the request

Validations:

  • Must be a Integer

id
richiesto

Validations:

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