GET /api/smart_class_parameters/:smart_class_parameter_id/override_values
Lista de valores de sobrescritura para un parámetro específico de clase inteligente

Parámetros

Nombre del parámetro Descripción
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

smart_class_parameter_id
opcional

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
opcional

Mostrar valores ocultos

Validations:

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

page
opcional

Número de página, comenzando por 1

Validations:

  • Must be a number.

per_page
opcional

Número de resultados por página para devolver

Validations:

  • Must be a number.


GET /api/smart_class_parameters/:smart_class_parameter_id/override_values/:id
Mostrar un valor de sobrescritura para un parámetro específico de clase inteligente

Parámetros

Nombre del parámetro Descripción
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

smart_class_parameter_id
opcional

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
requerido

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
opcional

Mostrar valores ocultos

Validations:

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


POST /api/smart_class_parameters/:smart_class_parameter_id/override_values
Crear un valor de sobrescritura para un parámetro específico de clase inteligente

Parámetros

Nombre del parámetro Descripción
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

smart_class_parameter_id
opcional

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
requerido

Validations:

  • Must be a Hash

override_value[match]
requerido

Sustituir coincidencia

Validations:

  • Must be a String

override_value[value]
opcional , nil permitido

Sobrescribir valor; obligatorio si omit es false

Validations:

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

override_value[omit]
opcional , nil permitido

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
Actualizar un valor de sobrescritura para un parámetro específico de clase inteligente

Parámetros

Nombre del parámetro Descripción
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

smart_class_parameter_id
opcional

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
requerido

Validations:

  • Must be a Hash

override_value[match]
opcional

Sustituir coincidencia

Validations:

  • Must be a String

override_value[value]
opcional , nil permitido

Sobrescribir valor; obligatorio si omit es false

Validations:

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

override_value[omit]
opcional , nil permitido

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
Borrar un valor de sobrescritura para un parámetro de clase inteligente específico

Parámetros

Nombre del parámetro Descripción
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

smart_class_parameter_id
opcional

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
requerido

Validations:

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