GET /api/config_templates
Bereitstellungsvorlagen auflisten

GET /api/operatingsystems/:operatingsystem_id/config_templates
Bereitstellungsvorlagen pro Betriebssystem auflisten

GET /api/locations/:location_id/config_templates
Bereitstellungsvorlagen pro Standort auflisten

GET /api/organizations/:organization_id/config_templates
Bereitstellungsvorlagen pro Organisation auflisten

Parameter

Parametername Beschreibung
operatingsystem_id
optional

Kennung des Betriebssystems

Validations:

  • Must be a String

location_id
optional

Scope nach Standorten

Validations:

  • Must be a Integer

organization_id
optional

Scope nach Organisationen

Validations:

  • Must be a Integer

search
optional

Ergebnisse filtern

Validations:

  • Must be a String

order
optional

Feld und Reihenfolge sortieren, z.B. 'id DESC'

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

Suchfelder

Feld Name Typ Mögliche Werte
default_template true, false
environment string
hostgroup string
kind string
location string
location_id integer
locked true, false
name string
operatingsystem string
organization string
organization_id integer
snippet true, false
template text
vendor string

GET /api/config_templates/:id
Details der Bereitstellungsvorlage 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

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/config_templates
Bereitstellungsvorlage 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

config_template
verpflichtend

Validations:

  • Must be a Hash

config_template[name]
verpflichtend

Vorlagenname

Validations:

  • Must be a String

config_template[template]
verpflichtend

Validations:

  • Must be a String

config_template[snippet]
optional , nil erlaubt

Validations:

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

config_template[audit_comment]
optional , nil erlaubt

Validations:

  • Must be a String

config_template[template_kind_id]
optional , nil erlaubt

nicht relevant für Snippet

Validations:

  • Must be a number.

config_template[template_combinations_attributes]
optional , nil erlaubt

Abfolge von Vorlagenkombinationen (hostgroup_id, environment_id)

Validations:

  • Must be an array of any type

config_template[operatingsystem_ids]
optional , nil erlaubt

Abfolge von Betriebssystem-Kennungen, die der Vorlage zugeordnet werden sollen

Validations:

  • Must be an array of any type

config_template[locked]
optional , nil erlaubt

Ob die Vorlage für die Bearbeitung gesperrt ist oder nicht

Validations:

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

config_template[location_ids]
optional , nil erlaubt

Standorte durch angegebene Kennungen ERSETZEN

Validations:

  • Must be an array of any type

config_template[organization_ids]
optional , nil erlaubt

Organisationen durch angegebene Kennungen ERSETZEN

Validations:

  • Must be an array of any type


PUT /api/config_templates/:id
Bereitstellungsvorlage 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

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.

config_template
verpflichtend

Validations:

  • Must be a Hash

config_template[name]
optional

Vorlagenname

Validations:

  • Must be a String

config_template[template]
optional

Validations:

  • Must be a String

config_template[snippet]
optional , nil erlaubt

Validations:

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

config_template[audit_comment]
optional , nil erlaubt

Validations:

  • Must be a String

config_template[template_kind_id]
optional , nil erlaubt

nicht relevant für Snippet

Validations:

  • Must be a number.

config_template[template_combinations_attributes]
optional , nil erlaubt

Abfolge von Vorlagenkombinationen (hostgroup_id, environment_id)

Validations:

  • Must be an array of any type

config_template[operatingsystem_ids]
optional , nil erlaubt

Abfolge von Betriebssystem-Kennungen, die der Vorlage zugeordnet werden sollen

Validations:

  • Must be an array of any type

config_template[locked]
optional , nil erlaubt

Ob die Vorlage für die Bearbeitung gesperrt ist oder nicht

Validations:

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

config_template[location_ids]
optional , nil erlaubt

Standorte durch angegebene Kennungen ERSETZEN

Validations:

  • Must be an array of any type

config_template[organization_ids]
optional , nil erlaubt

Organisationen durch angegebene Kennungen ERSETZEN

Validations:

  • Must be an array of any type


GET /api/config_templates/revision

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

version
optional

Vorlagenversion

Validations:

  • Must be a String


DELETE /api/config_templates/:id
Bereitstellungsvorlage 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

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/config_templates/build_pxe_default
Standard-PXE-Menü auf allen konfigurierten TFTP-Servern 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


POST /api/config_templates/:id/clone
Bereitstellungsvorlage klonen

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

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.

config_template
verpflichtend

Validations:

  • Must be a Hash

config_template[name]
verpflichtend

Vorlagenname

Validations:

  • Must be a String