GET /api/templates/:template_id/template_inputs
Vorlageneingabe auflisten

Parameter

Parametername Beschreibung
location_id
optional

Scope nach Standorten

Validations:

  • Must be a Integer

organization_id
optional

Scope nach Organisationen

Validations:

  • Must be a Integer

template_id
verpflichtend

Validations:

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

search
optional

Ergebnisse filtern

Validations:

  • Must be a String

order
optional

Ergebnisse sortieren

Validations:

  • Must be a String

page
optional

Ergebnisse nummerieren

Validations:

  • Must be a String

per_page
optional

Anzahl der Einträge pro Anfrage

Validations:

  • Must be a String


GET /api/templates/:template_id/template_inputs/:id
Details der Vorlageneingabe anzeigen

Parameter

Parametername Beschreibung
location_id
optional

Scope nach Standorten

Validations:

  • Must be a Integer

organization_id
optional

Scope nach Organisationen

Validations:

  • Must be a Integer

template_id
verpflichtend

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
verpflichtend

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/templates/:template_id/template_inputs
Vorlageneingabe erstellen

Parameter

Parametername Beschreibung
location_id
optional

Scope nach Standorten

Validations:

  • Must be a Integer

organization_id
optional

Scope nach Organisationen

Validations:

  • Must be a Integer

template_id
verpflichtend

Validations:

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

template_input
verpflichtend

Validations:

  • Must be a Hash

template_input[name]
verpflichtend

Eingabename

Validations:

  • Must be a String

template_input[description]
optional , nil erlaubt

Eingabebeschreibung

Validations:

  • Must be a String

template_input[required]
optional , nil erlaubt

Eingabe ist erforderlich

Validations:

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

template_input[advanced]
optional , nil erlaubt

Eingabe ist erweitert

Validations:

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

template_input[input_type]
verpflichtend

Eingabetyp

Validations:

  • Must be one of: user, fact, variable, puppet_parameter.

template_input[fact_name]
optional , nil erlaubt

Faktenname wird benutzt, wenn Eingabetyp Fakt ist

Validations:

  • Must be a String

template_input[variable_name]
optional , nil erlaubt

Variablenname wird benutzt, wenn Eingabetyp Variable ist

Validations:

  • Must be a String

template_input[puppet_parameter_class]
optional , nil erlaubt

Name der Puppet-Klasse wird benutzt, wenn Eingabetyp Puppet-Parameter ist

Validations:

  • Must be a String

template_input[puppet_parameter_name]
optional , nil erlaubt

Puppet-Parameter-Name wird benutzt, wenn Eingabetyp Puppet-Parameter ist

Validations:

  • Must be a String

template_input[options]
optional , nil erlaubt

Auswählbare Werte für Benutzereingaben

Validations:

  • Must be an array of any type


DELETE /api/templates/:template_id/template_inputs/:id
Vorlageneingabe löschen

Parameter

Parametername Beschreibung
location_id
optional

Scope nach Standorten

Validations:

  • Must be a Integer

organization_id
optional

Scope nach Organisationen

Validations:

  • Must be a Integer

template_id
verpflichtend

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
verpflichtend

Validations:

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


PUT /api/templates/:template_id/template_inputs/:id
Vorlageneingabe aktualisieren

Parameter

Parametername Beschreibung
location_id
optional

Scope nach Standorten

Validations:

  • Must be a Integer

organization_id
optional

Scope nach Organisationen

Validations:

  • Must be a Integer

template_id
verpflichtend

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
verpflichtend

Validations:

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

template_input
verpflichtend

Validations:

  • Must be a Hash

template_input[name]
optional

Eingabename

Validations:

  • Must be a String

template_input[description]
optional , nil erlaubt

Eingabebeschreibung

Validations:

  • Must be a String

template_input[required]
optional , nil erlaubt

Eingabe ist erforderlich

Validations:

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

template_input[advanced]
optional , nil erlaubt

Eingabe ist erweitert

Validations:

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

template_input[input_type]
optional

Eingabetyp

Validations:

  • Must be one of: user, fact, variable, puppet_parameter.

template_input[fact_name]
optional , nil erlaubt

Faktenname wird benutzt, wenn Eingabetyp Fakt ist

Validations:

  • Must be a String

template_input[variable_name]
optional , nil erlaubt

Variablenname wird benutzt, wenn Eingabetyp Variable ist

Validations:

  • Must be a String

template_input[puppet_parameter_class]
optional , nil erlaubt

Name der Puppet-Klasse wird benutzt, wenn Eingabetyp Puppet-Parameter ist

Validations:

  • Must be a String

template_input[puppet_parameter_name]
optional , nil erlaubt

Puppet-Parameter-Name wird benutzt, wenn Eingabetyp Puppet-Parameter ist

Validations:

  • Must be a String

template_input[options]
optional , nil erlaubt

Auswählbare Werte für Benutzereingaben

Validations:

  • Must be an array of any type