POST /api/smart_proxies/:id/import_puppetclasses
Import puppet classes from puppet proxy.

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

Validations:

  • 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

Validations:

  • Must be a String

environment_id
Optional

Validations:

  • Must be a String

dryrun
Optional

Validations:

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

except
Optional

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

Validations:

  • Must be a String


GET /api/smart_proxies
List all smart_proxies.

Params

Param Name Description
type
Optional

filter by type

Validations:

  • Must be a String

page
Optional

paginate results

Validations:

  • Must be a String

per_page
Optional

antal poster per begäran

Validations:

  • Must be a String


GET /api/smart_proxies/:id
Show a smart proxy.

Params

Param Name Description
id
Required

Validations:

  • 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/smart_proxies
Create a smart proxy.

Params

Param Name Description
smart_proxy
Required

Validations:

  • Must be a Hash

smart_proxy[name]
Required

Validations:

  • Must be a String

smart_proxy[url]
Required

Validations:

  • Must be a String


PUT /api/smart_proxies/:id
Update a smart proxy.

Params

Param Name Description
id
Required

Validations:

  • Must be a String

smart_proxy
Required

Validations:

  • Must be a Hash

smart_proxy[name]
Optional

Validations:

  • Must be a String

smart_proxy[url]
Optional

Validations:

  • Must be a String


DELETE /api/smart_proxies/:id
Delete a smart_proxy.

Params

Param Name Description
id
Required

Validations:

  • Must be a String


PUT /api/smart_proxies/:id/refresh
Refresh smart proxy features

Params

Param Name Description
id
Required

Validations:

  • Must be a String