GET /api/smart_class_parameters/:smart_class_parameter_id/override_values
Lista nadpisanych wartości dla konkretnego parametru smart class

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

smart_class_parameter_id
opcjonalny

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
opcjonalny

Display hidden values

Validations:

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

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.


GET /api/smart_class_parameters/:smart_class_parameter_id/override_values/:id
Pokaż wartość nadpisaną dla konkretnego parametru inteligentnej klasy

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

smart_class_parameter_id
opcjonalny

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
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.

show_hidden
opcjonalny

Display hidden values

Validations:

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


POST /api/smart_class_parameters/:smart_class_parameter_id/override_values
Utwórz wartość nadpisaną dla konkretnego parametru inteligentnej klasy

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

smart_class_parameter_id
opcjonalny

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
wymagany

Validations:

  • Must be a Hash

override_value[match]
wymagany

Zastąp dopasowanie

Validations:

  • Must be a String

override_value[value]
opcjonalny , nil dopuszczalny

Override value, required if omit is false

Validations:

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

override_value[omit]
opcjonalny , nil dopuszczalny

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
Aktualizuj wartość nadpisaną dla konkretnego parametru inteligentnej klasy

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

smart_class_parameter_id
opcjonalny

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
wymagany

Validations:

  • Must be a Hash

override_value[match]
opcjonalny

Zastąp dopasowanie

Validations:

  • Must be a String

override_value[value]
opcjonalny , nil dopuszczalny

Override value, required if omit is false

Validations:

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

override_value[omit]
opcjonalny , nil dopuszczalny

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
Usuń wartość nadpisaną dla konkretnego parametru inteligentnej klasy

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

smart_class_parameter_id
opcjonalny

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
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.