GET /salt/api/salt_environments
List all Salt environments

Params

Param Name Description
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 /salt/api/salt_environments/:id
Show a Salt environment

Params

Param Name Description
id
Required

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

POST /salt/api/salt_environments
Create a Salt environment

Params

Param Name Description
environment
Required

Value: Must be a Hash
environment[name]
Required

Value: Must be String

DELETE /salt/api/salt_environments/:id
Destroy a Salt 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.