GET /api/smart_class_parameters/:smart_class_parameter_id/override_values
Список заменяемых значений для определенного смарт-параметра

Параметры

Имя параметра Описание
location_id
необязательно

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
необязательно

Set the current organization context for the request

Validations:

  • Must be a Integer

smart_class_parameter_id
необязательно

Validations:

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

show_hidden
необязательно

Display hidden values

Validations:

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

page
необязательно

Номер страницы, начиная с 1

Validations:

  • Must be a number.

per_page
необязательно

Число элементов на странице

Validations:

  • Must be a number.


GET /api/smart_class_parameters/:smart_class_parameter_id/override_values/:id
Показать значение переопределения для смарт-параметра

Параметры

Имя параметра Описание
location_id
необязательно

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
необязательно

Set the current organization context for the request

Validations:

  • Must be a Integer

smart_class_parameter_id
необязательно

Validations:

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

id
обязательно

Validations:

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

show_hidden
необязательно

Display hidden values

Validations:

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


POST /api/smart_class_parameters/:smart_class_parameter_id/override_values
Создать переопределение смарт-параметра

Параметры

Имя параметра Описание
location_id
необязательно

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
необязательно

Set the current organization context for the request

Validations:

  • Must be a Integer

smart_class_parameter_id
необязательно

Validations:

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

override_value
обязательно

Validations:

  • Must be a Hash

override_value[match]
обязательно

Условие переопределения

Validations:

  • Must be a String

override_value[value]
необязательно , nil разрешен

Override value, required if omit is false

Validations:

  • Must be one of types: string, boolean, integer, real, array, hash, yaml, json

override_value[omit]
необязательно , nil разрешен

Foreman will not send this parameter in classification output

Validations:

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


PUT /api/smart_class_parameters/:smart_class_parameter_id/override_values/:id
Обновить значение переопределения смарт-параметра

Параметры

Имя параметра Описание
location_id
необязательно

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
необязательно

Set the current organization context for the request

Validations:

  • Must be a Integer

smart_class_parameter_id
необязательно

Validations:

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

override_value
обязательно

Validations:

  • Must be a Hash

override_value[match]
необязательно

Условие переопределения

Validations:

  • Must be a String

override_value[value]
необязательно , nil разрешен

Override value, required if omit is false

Validations:

  • Must be one of types: string, boolean, integer, real, array, hash, yaml, json

override_value[omit]
необязательно , nil разрешен

Foreman will not send this parameter in classification output

Validations:

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


DELETE /api/smart_class_parameters/:smart_class_parameter_id/override_values/:id
Удалить значение переопределения смарт-параметра

Параметры

Имя параметра Описание
location_id
необязательно

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
необязательно

Set the current organization context for the request

Validations:

  • Must be a Integer

smart_class_parameter_id
необязательно

Validations:

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

id
обязательно

Validations:

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