GET /salt/api/salt_minions
List all Salt Minions

パラメーター

パラメーター名 記述
search
任意

結果のフィルター

Validations:

  • Must be a String

order
任意

フィールドと順序のソート (例: ‘id DESC’)

Validations:

  • Must be a String

page
任意

1 から始まるページ番号

Validations:

  • Must be a number.

per_page
任意

Number of results per page to return, 'all' to return all results

Validations:

  • Must match regular expression /\A([1-9]\d*|all)\Z$/.


GET /salt/api/salt_minions/:id
Show a minion

パラメーター

パラメーター名 記述
id
必須

Validations:

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


PUT /salt/api/salt_minions/:id
Update a minion

パラメーター

パラメーター名 記述
id
必須

Validations:

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

minion
必須

Validations:

  • Must be a Hash

minion[salt_environment_id]
任意 , nil可

Salt environment ID

Validations:

  • Must be a number.

minion[salt_proxy_id]
任意 , nil可

ID of Salt Proxy

Validations:

  • Must be a number.

minion[salt_state_ids]
任意 , nil可

Array of State ids

Validations:

  • Must be an array of any type