GET /api/bookmarks
Lista wszystkich zakładek

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

search
opcjonalny

rezultat filtrowania

Validations:

  • Must be a String

order
opcjonalny

Sort field and order, eg. ‘id DESC’

Validations:

  • Must be a String

page
opcjonalny

Page number, starting at 1

Validations:

  • Must be a number.

per_page
opcjonalny

Number of results per page to return

Validations:

  • Must be a number.

Search fields

Field name Typ Possible values
controller
name

GET /api/bookmarks/:id
Pokaż zakładki

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

id
wymagany

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
Utwórz zakładkę

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

bookmark
wymagany

Validations:

  • Must be a Hash

bookmark[name]
wymagany

Validations:

  • Must be a String

bookmark[controller]
wymagany

Validations:

  • Must be a String

bookmark[query]
wymagany

Validations:

  • Must be a String

bookmark[public]
opcjonalny , nil dopuszczalny

Validations:

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


PUT /api/bookmarks/:id
Aktualizuj zakładkę

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

id
wymagany

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
wymagany

Validations:

  • Must be a Hash

bookmark[name]
opcjonalny

Validations:

  • Must be a String

bookmark[controller]
opcjonalny

Validations:

  • Must be a String

bookmark[query]
opcjonalny

Validations:

  • Must be a String

bookmark[public]
opcjonalny , nil dopuszczalny

Validations:

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


DELETE /api/bookmarks/:id
Usuń zakładkę

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

id
wymagany

Validations:

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