GET /api/config_groups
Lista med konfigurationsgrupper

Params

Param name Description
search
optional

filtrera resultat

Validations:

  • Must be a String

order
optional

sortera resultat

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/config_groups/:id
Visa en konfigurationsgrupp

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
Skapa en konfigurationsgrupp

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
Uppdatera en konfigurationsgrupp

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
Radera en konfigurationsgrupp

Params

Param name Description
id
required

Validations:

  • Must be a String