POST /api/smart_proxies/:id/import_puppetclasses
Puppet-Klassen vom Puppet-Proxy importieren

POST /api/smart_proxies/:smart_proxy_id/environments/:id/import_puppetclasses
Puppet-Klassen von Puppet-Proxy für eine Umgebung importieren

POST /api/environments/:environment_id/smart_proxies/:id/import_puppetclasses
Puppet-Klassen von Puppet-Proxy für eine Umgebung importieren

Parameter

Parametername Beschreibung
location_id
optional

Scope nach Standorten

Validations:

  • Integer

organization_id
optional

Scope nach Organisationen

Validations:

  • Integer

id
verpflichtend

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

smart_proxy_id
optional

Validations:

  • String

environment_id
optional

Validations:

  • String

dryrun
optional

Validations:

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

except
optional

Optionaler kommaseparierter String, der entweder “neu”, “aktualisiert” oder “veraltet” enthält und dazu verwendet wird, die importierten Puppet-Klassen einzuschränken.

Validations:

  • String


GET /api/smart_proxies
Alle Smart-Proxys auflisten

Parameter

Parametername Beschreibung
location_id
optional

Scope nach Standorten

Validations:

  • Integer

organization_id
optional

Scope nach Organisationen

Validations:

  • Integer

search
optional

Ergebnisse filtern

Validations:

  • String

order
optional

Sort field and order, eg. ‘id DESC’

Validations:

  • String

page
optional

Ergebnisse nummerieren

Validations:

  • String

per_page
optional

Anzahl der Einträge pro Anfrage

Validations:

  • String

Search fields

Feld Name Typ Mögliche Werte
feature string
location string
location_id integer
name string
organization string
organization_id integer
url string

GET /api/smart_proxies/:id
Smart-Proxy anzeigen

Parameter

Parametername Beschreibung
location_id
optional

Scope nach Standorten

Validations:

  • Integer

organization_id
optional

Scope nach Organisationen

Validations:

  • Integer

id
verpflichtend

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..


POST /api/smart_proxies
Smart-Proxy erstellen

Parameter

Parametername Beschreibung
location_id
optional

Scope nach Standorten

Validations:

  • Integer

organization_id
optional

Scope nach Organisationen

Validations:

  • Integer

smart_proxy
verpflichtend

Validations:

  • Hash

smart_proxy[name]
verpflichtend

Validations:

  • String

smart_proxy[url]
verpflichtend

Validations:

  • String

smart_proxy[location_ids]
optional , nil erlaubt

Standorte durch angegebene Kennungen ERSETZEN

Validations:

  • Must be an array of any type

smart_proxy[organization_ids]
optional , nil erlaubt

Organisationen durch angegebene Kennungen ERSETZEN

Validations:

  • Must be an array of any type

smart_proxy[download_policy]
optional

Download Policy of the capsule, must be one of immediate, on_demand, background, inherit

Validations:

  • String


PUT /api/smart_proxies/:id
Smart proxy aktualisieren

Parameter

Parametername Beschreibung
location_id
optional

Scope nach Standorten

Validations:

  • Integer

organization_id
optional

Scope nach Organisationen

Validations:

  • Integer

id
verpflichtend

Validations:

  • String

smart_proxy
verpflichtend

Validations:

  • Hash

smart_proxy[name]
optional

Validations:

  • String

smart_proxy[url]
optional

Validations:

  • String

smart_proxy[location_ids]
optional , nil erlaubt

Standorte durch angegebene Kennungen ERSETZEN

Validations:

  • Must be an array of any type

smart_proxy[organization_ids]
optional , nil erlaubt

Organisationen durch angegebene Kennungen ERSETZEN

Validations:

  • Must be an array of any type

smart_proxy[download_policy]
optional

Download Policy of the capsule, must be one of immediate, on_demand, background, inherit

Validations:

  • String


DELETE /api/smart_proxies/:id
Smart-Proxy löschen

Parameter

Parametername Beschreibung
location_id
optional

Scope nach Standorten

Validations:

  • Integer

organization_id
optional

Scope nach Organisationen

Validations:

  • Integer

id
verpflichtend

Validations:

  • String


PUT /api/smart_proxies/:id/refresh
Smart-Proxy-Funktionen aktualisieren

Parameter

Parametername Beschreibung
location_id
optional

Scope nach Standorten

Validations:

  • Integer

organization_id
optional

Scope nach Organisationen

Validations:

  • Integer

id
verpflichtend

Validations:

  • String