POST /api/smart_proxies/:id/import_puppetclasses
Importar clases puppet desde el proxy puppet.

POST /api/smart_proxies/:smart_proxy_id/environments/:id/import_puppetclasses
Importar clases puppet desde el proxy puppet de un entorno

POST /api/environments/:environment_id/smart_proxies/:id/import_puppetclasses
Importar clases puppet desde el proxy puppet de un entorno

Parámetros

Nombre del parámetro Descripción
id
requerido

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
opcional

Validations:

  • Must be String

environment_id
opcional

Validations:

  • Must be String

dryrun
opcional

Validations:

  • Must be 'true' or 'false' or '1' or '0'

except
opcional

Cadena opcional delimitada por comas, que contiene 'nuevo', 'actualizado' u 'obsoleto', utilizada para limitar las clases Puppet importadas.

Validations:

  • Must be String


GET /api/environments
List all environments.

Parámetros

Nombre del parámetro Descripción
search
opcional

Filter results

Validations:

  • Must be String

order
opcional

Sort results

Validations:

  • Must be String

page
opcional

paginar resultados

Validations:

  • Must be String

per_page
opcional

número de entradas por solicitud

Validations:

  • Must be String


GET /api/environments/:id
Show an environment.

Parámetros

Nombre del parámetro Descripción
id
requerido

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/environments
Create an environment.

Parámetros

Nombre del parámetro Descripción
environment
requerido

Validations:

  • Must be a Hash

environment[name]
requerido

Validations:

  • Must be String


PUT /api/environments/:id
Update an environment.

Parámetros

Nombre del parámetro Descripción
id
requerido

Validations:

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

environment
requerido

Validations:

  • Must be a Hash

environment[name]
opcional

Validations:

  • Must be String


DELETE /api/environments/:id
Delete an environment.

Parámetros

Nombre del parámetro Descripción
id
requerido

Validations:

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