Examples

GET /api/environments/production/puppetclasses/980190962
200
{
  "created_at": "2019-09-11 14:57:07 UTC",
  "updated_at": "2019-09-11 14:57:07 UTC",
  "id": 980190962,
  "name": "base",
  "module_name": "base",
  "environments": [
    {
      "name": "production",
      "id": 334344675
    }
  ],
  "hostgroups": [
    {
      "id": 636252244,
      "name": "Common",
      "title": "Common",
      "description": null
    }
  ],
  "smart_variables": [
    {
      "variable": "bool_test",
      "id": 638205575
    },
    {
      "variable": "ssl_port",
      "id": 298486374
    }
  ],
  "smart_class_parameters": [
    {
      "parameter": "cluster",
      "id": 328495940
    }
  ]
}

Params

Param Name Description
location_id
Optional

Abast per ubicacions

Validations:

  • Must be a Integer

organization_id
Optional

Abast per organitzacions

Validations:

  • Must be a Integer

host_id
Optional

ID d’amfitrió

Validations:

  • Must be a String

hostgroup_id
Optional

ID de grup d’amfitrions

Validations:

  • Must be a String

environment_id
Optional

ID d’entorn

Validations:

  • Must be a String

id
Required

ID de classe de Puppet

Validations:

  • Must be a String