GET /api/config_groups
List of config groups

Params

Param name Description
search
optional

filter results

Validations:

  • Must be a String

order
optional

sort results

Validations:

  • Must be a String

page
optional

paginate results

Validations:

  • Must be a String

per_page
optional

number of entries per request

Validations:

  • Must be a String


GET /api/config_groups/:id
Show a config group

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
Create a config group

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
Update a config group

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
Delete a config group

Params

Param name Description
id
required

Validations:

  • Must be a String