POST /api/smart_proxies/:id/import_puppetclasses
puppet プロキシから puppet クラスをインポートします.

POST /api/smart_proxies/:smart_proxy_id/environments/:id/import_puppetclasses
Import puppet classes from puppet proxy for an environment

POST /api/environments/:environment_id/smart_proxies/:id/import_puppetclasses
Import puppet classes from puppet proxy for 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.
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

Optional comma-delimited string containing either 'new', 'updated', or 'obsolete' that is used to limit the imported Puppet classes


Value: Must be String

GET /api/environments
環境一覧

GET /api/puppetclasses/:puppetclass_id/environments
Puppet クラスごとの環境の一覧

GET /api/locations/:location_id/environments
ロケーションごとの環境の一覧

GET /api/organizations/:organization_id/environments
組織ごとの環境の一覧

Params

Param Name Description
puppetclass_id
Optional

Puppet クラスの ID


Value: Must be String
search
Optional

結果をフィルタ


Value: Must be String
order
Optional

結果をソート


Value: Must be String
page
Optional

結果をページ分割


Value: Must be String
per_page
Optional

リクエストあたりのエントリ数


Value: Must be String

GET /api/environments/:id
環境の表示

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
環境の作成

Params

Param Name Description
environment
Required

Value: Must be a Hash
environment[name]
Required

Value: Must be String

PUT /api/environments/:id
環境の更新

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
環境の削除

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.