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

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/smart_proxies
Llista tots els servidors intermediaris intel·ligents

Params

Param Name Description
search
Optional

filtra els resultats


Value:

Must be String

order
Optional

ordena els resultats


Value:

Must be String

page
Optional

pagina els resultats


Value:

Must be String

per_page
Optional

Nombre d'entrades per petició


Value:

Must be String


GET /api/smart_proxies/:id
Mostra un servidor intermediari intel·ligent

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/smart_proxies
Crea un servidor intermediari intel·ligent

Params

Param Name Description
smart_proxy
Required

Value:

Must be a Hash

smart_proxy[name]
Required

Value:

Must be String

smart_proxy[url]
Required

Value:

Must be String


PUT /api/smart_proxies/:id
Actualitza un servidor intermediari intel·ligent

Params

Param Name Description
id
Required

Value:

Must be String

smart_proxy
Required

Value:

Must be a Hash

smart_proxy[name]
Optional

Value:

Must be String

smart_proxy[url]
Optional

Value:

Must be String


DELETE /api/smart_proxies/:id
Suprimeix un servidor intermediari intel·ligent

Params

Param Name Description
id
Required

Value:

Must be String


PUT /api/smart_proxies/:id/refresh
Refresca les característiques del servidor intermediari intel·ligent

Params

Param Name Description
id
Required

Value:

Must be String