POST /api/smart_proxies/:id/import_puppetclasses
Puppet-Klassen von 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

Params

Param Name Description
id
Required

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

Value: Must be String
environment_id
Optional

Value: Must be String
dryrun
Optional

Value: Must be 'true' or 'false'
except
Optional

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


Value: Must be String

GET /api/environments
List all environments.

Params

Param Name Description
search
Optional

Filter results


Value: Must be String
order
Optional

Sort results


Value: Must be String
page
Optional

Ergebnisse nummerieren


Value: Must be String
per_page
Optional

Anzahl der Einträge pro Anfrage


Value: Must be String

GET /api/environments/:id
Show an environment.

Params

Param Name Description
id
Required

Value: 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/environments
Create an environment.

Params

Param Name Description
environment
Required

Value: Must be a Hash
environment[name]
Required

Value: Must be String

PUT /api/environments/:id
Update an environment.

Params

Param Name Description
id
Required

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

Value: Must be a Hash
environment[name]
Optional

Value: Must be String

DELETE /api/environments/:id
Delete an environment.

Params

Param Name Description
id
Required

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