GET /api/users/:user_id/table_preferences
List of table preferences for a user

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


GET /api/users/:user_id/table_preferences/:name
Table preference details of a given table

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

name
wymagany

Validations:

  • Must be a String


POST /api/users/:user_id/table_preferences
Creates a table preference for a given table

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

table_preferences
wymagany

Validations:

  • Must be a Hash

table_preferences[name]
wymagany

Name of the table

Validations:

  • Must be a String

table_preferences[columns]
opcjonalny

List of user selected columns

Validations:

  • Must be an array of any type


PUT /api/users/:user_id/table_preferences/:name
Updates a table preference for a given table

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

table_preferences
wymagany

Validations:

  • Must be a Hash

table_preferences[name]
wymagany

Name of the table

Validations:

  • Must be a String

table_preferences[columns]
opcjonalny

List of user selected columns

Validations:

  • Must be an array of any type


DELETE /api/users/:user_id/table_preferences/:name
Delete a table preference for a given table

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

name
wymagany

name of the table

Validations:

  • Must be a String