Examples

GET /api/puppetclasses/980190962/smart_class_parameters/1018350809
200
{
  "description": null,
  "override": false,
  "parameter_type": null,
  "hidden_value?": true,
  "omit": null,
  "required": false,
  "validator_type": null,
  "validator_rule": null,
  "merge_overrides": false,
  "merge_default": false,
  "avoid_duplicates": false,
  "override_value_order": "fqdn\nhostgroup\nos\ndomain",
  "created_at": "2019-09-11 14:41:01 UTC",
  "updated_at": "2019-09-11 14:41:01 UTC",
  "use_puppet_default": null,
  "parameter": "param140",
  "id": 1018350809,
  "puppetclass_id": 980190962,
  "override_values_count": 0,
  "default_value": "*****",
  "puppetclass_name": "base",
  "environments": [
    {
      "id": 687036937,
      "name": "testing"
    }
  ],
  "override_values": []
}

Params

Param name Description
location_id
optional

Scope by locations

Validations:

  • Must be a Integer

organization_id
optional

Scope by organizations

Validations:

  • Must be a Integer

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.

show_hidden
optional

Display hidden values

Validations:

  • Must be one of: true, false, 1, 0.