GET /api/config_groups
Llista dels grups de configuracions

Params

Param name Description
search
optional

filtra els resultats

Validations:

  • Must be a String

order
optional

ordena els resultats

Validations:

  • Must be a String

page
optional

pagina els resultats

Validations:

  • Must be a String

per_page
optional

Nombre d'entrades per peticiĆ³

Validations:

  • Must be a String


GET /api/config_groups/:id
Mostra un grup de configuracions

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/config_groups
Crea un grup de configuracions

Params

Param name Description
config_group
required

Validations:

  • Must be a Hash

config_group[name]
required

Validations:

  • Must be a String

config_group[puppetclass_ids]
optional , nil allowed

Validations:

  • Must be an array of any type


PUT /api/config_groups/:id
Actualitza un grup de configuracions

Params

Param name Description
id
required

Validations:

  • Must be a String

config_group
required

Validations:

  • Must be a Hash

config_group[name]
optional

Validations:

  • Must be a String

config_group[puppetclass_ids]
optional , nil allowed

Validations:

  • Must be an array of any type


DELETE /api/config_groups/:id
Suprimeix un grup de configuracions

Params

Param name Description
id
required

Validations:

  • Must be a String