Examples

GET /api/settings
200
{
  "total": 84,
  "subtotal": 84,
  "page": 1,
  "per_page": 20,
  "search": null,
  "sort": {
    "by": null,
    "order": null
  },
  "results": [
    {
      "description": "The URL Foreman should point to in emails etc",
      "category": "Setting::General",
      "settings_type": null,
      "default": "http://foreman.some.host.fqdn",
      "created_at": "2020-05-20 13:18:01 UTC",
      "updated_at": "2020-05-20 13:18:01 UTC",
      "id": 182539440,
      "name": "foreman_url",
      "full_name": null,
      "value": "http://foreman.some.host.fqdn",
      "category_name": "General"
    },
    {
      "description": "Default root password on provisioned hosts",
      "category": "Setting::Provisioning",
      "settings_type": null,
      "default": null,
      "created_at": "2020-05-20 13:18:01 UTC",
      "updated_at": "2020-05-20 13:18:01 UTC",
      "id": 1038509113,
      "name": "root_pass",
      "full_name": null,
      "value": null,
      "category_name": "Provisioning"
    },
    {
      "description": "Enable safe mode config templates rendinging(recommended)",
      "category": "Setting::Provisioning",
      "settings_type": null,
      "default": true,
      "created_at": "2020-05-20 13:18:01 UTC",
      "updated_at": "2020-05-20 13:18:01 UTC",
      "id": 595784092,
      "name": "safemode_render",
      "full_name": null,
      "value": true,
      "category_name": "Provisioning"
    },
    {
      "description": "SSL Certificate path that foreman would use to communicate with its proxies",
      "category": "Setting::Provisioning",
      "settings_type": null,
      "default": "/var/lib/puppet/ssl/certs/some.host.fqdn",
      "created_at": "2020-05-20 13:18:01 UTC",
      "updated_at": "2020-05-20 13:18:01 UTC",
      "id": 344310031,
      "name": "ssl_certificate",
      "full_name": null,
      "value": "/var/lib/puppet/ssl/certs/some.host.fqdn",
      "category_name": "Provisioning"
    },
    {
      "description": "SSL CA file that foreman would use to communicate with its proxies",
      "category": "Setting::Provisioning",
      "settings_type": null,
      "default": "/var/lib/puppet/ssl/certs/ca.pem",
      "created_at": "2020-05-20 13:18:01 UTC",
      "updated_at": "2020-05-20 13:18:01 UTC",
      "id": 227315895,
      "name": "ssl_ca_file",
      "full_name": null,
      "value": "/var/lib/puppet/ssl/certs/ca.pem",
      "category_name": "Provisioning"
    },
    {
      "description": "SSL Private Key file that foreman would use to communicate with its proxies",
      "category": "Setting::Provisioning",
      "settings_type": null,
      "default": "/var/lib/puppet/ssl/private_keys/super.some.host.fqdn.pem",
      "created_at": "2020-05-20 13:18:01 UTC",
      "updated_at": "2020-05-20 13:18:01 UTC",
      "id": 982229024,
      "name": "ssl_priv_key",
      "full_name": null,
      "value": "/var/lib/puppet/ssl/private_keys/super.some.host.fqdn.pem",
      "category_name": "Provisioning"
    },
    {
      "description": "Setting::Puppet interval in minutes",
      "category": "Setting::Puppet",
      "settings_type": "integer",
      "default": 30,
      "created_at": "2020-05-20 13:18:01 UTC",
      "updated_at": "2020-05-20 13:18:01 UTC",
      "id": 708099507,
      "name": "puppet_interval",
      "full_name": null,
      "value": 30,
      "category_name": "Puppet"
    },
    {
      "description": "The Setting::Puppet environment foreman would default to in case it can't auto detect it",
      "category": "Setting::Puppet",
      "settings_type": null,
      "default": "production",
      "created_at": "2020-05-20 13:18:01 UTC",
      "updated_at": "2020-05-20 13:18:01 UTC",
      "id": 489917738,
      "name": "default_puppet_environment",
      "full_name": null,
      "value": "production",
      "category_name": "Puppet"
    },
    {
      "description": "Enable Email Alerts per each failed puppet report",
      "category": "Setting::Puppet",
      "settings_type": null,
      "default": false,
      "created_at": "2020-05-20 13:18:01 UTC",
      "updated_at": "2020-05-20 13:18:01 UTC",
      "id": 14451317,
      "name": "failed_report_email_notification",
      "full_name": null,
      "value": false,
      "category_name": "Puppet"
    },
    {
      "description": "The Default path in which foreman resolves host specific variables",
      "category": "Setting::Puppet",
      "settings_type": null,
      "default": [
        "fqdn",
        "hostgroup",
        "os",
        "domain"
      ],
      "created_at": "2020-05-20 13:18:01 UTC",
      "updated_at": "2020-05-20 13:18:01 UTC",
      "id": 515381208,
      "name": "Default_parameters_Lookup_Path",
      "full_name": null,
      "value": [
        "fqdn",
        "hostgroup",
        "os",
        "domain"
      ],
      "category_name": "Puppet"
    },
    {
      "description": "Should Foreman manage host certificates when provisioning hosts",
      "category": "Setting::Provisioning",
      "settings_type": null,
      "default": true,
      "created_at": "2020-05-20 13:18:01 UTC",
      "updated_at": "2020-05-20 13:18:01 UTC",
      "id": 700393283,
      "name": "manage_puppetca",
      "full_name": null,
      "value": true,
      "category_name": "Provisioning"
    },
    {
      "description": "The amount of records shown per page in foreman",
      "category": "Setting::General",
      "settings_type": null,
      "default": 20,
      "created_at": "2020-05-20 13:18:01 UTC",
      "updated_at": "2020-05-20 13:18:01 UTC",
      "id": 817264379,
      "name": "entries_per_page",
      "full_name": null,
      "value": 20,
      "category_name": "General"
    },
    {
      "description": "Foreman will update a hosts environment from its facts",
      "category": "Setting::Puppet",
      "settings_type": null,
      "default": false,
      "created_at": "2020-05-20 13:18:01 UTC",
      "updated_at": "2020-05-20 13:18:01 UTC",
      "id": 129058412,
      "name": "update_environment_from_facts",
      "full_name": null,
      "value": false,
      "category_name": "Puppet"
    },
    {
      "description": "idle timeout",
      "category": "Setting::General",
      "settings_type": null,
      "default": 5,
      "created_at": "2020-05-20 13:18:01 UTC",
      "updated_at": "2020-05-20 13:18:01 UTC",
      "id": 386817023,
      "name": "idle_timeout",
      "full_name": null,
      "value": 5,
      "category_name": "General"
    },
    {
      "description": "Should Foreman provide puppet environment in ENC yaml output? (this avoids the mismatch error between puppet.conf and ENC environment)",
      "category": "Setting::Puppet",
      "settings_type": null,
      "default": true,
      "created_at": "2020-05-20 13:18:01 UTC",
      "updated_at": "2020-05-20 13:18:01 UTC",
      "id": 537488238,
      "name": "enc_environment",
      "full_name": null,
      "value": true,
      "category_name": "Puppet"
    },
    {
      "description": "Should Foreman use random UUID's for certificate signing instead of hostnames",
      "category": "Setting::Puppet",
      "settings_type": null,
      "default": false,
      "created_at": "2020-05-20 13:18:01 UTC",
      "updated_at": "2020-05-20 13:18:01 UTC",
      "id": 855146510,
      "name": "use_uuid_for_certificates",
      "full_name": null,
      "value": false,
      "category_name": "Puppet"
    },
    {
      "description": "Should Foreman query the locally configured name server or the SOA/NS authorities",
      "category": "Setting::Provisioning",
      "settings_type": null,
      "default": false,
      "created_at": "2020-05-20 13:18:01 UTC",
      "updated_at": "2020-05-20 13:18:01 UTC",
      "id": 100642973,
      "name": "query_local_nameservers",
      "full_name": null,
      "value": false,
      "category_name": "Provisioning"
    },
    {
      "description": "If Foreman is running behind Passenger or a remote loadbalancer, the ip should be set here",
      "category": "Setting::Provisioning",
      "settings_type": null,
      "default": "127.0.0",
      "created_at": "2020-05-20 13:18:01 UTC",
      "updated_at": "2020-05-20 13:18:01 UTC",
      "id": 485941537,
      "name": "remote_addr",
      "full_name": null,
      "value": "127.0.0",
      "category_name": "Provisioning"
    },
    {
      "description": "Setting::Authorize login delegation with REMOTE_USER environment variable",
      "category": "Setting::General",
      "settings_type": null,
      "default": false,
      "created_at": "2020-05-20 13:18:01 UTC",
      "updated_at": "2020-05-20 13:18:01 UTC",
      "id": 737268150,
      "name": "authorize_login_delegation",
      "full_name": null,
      "value": false,
      "category_name": "General"
    },
    {
      "description": "The Default administrator email address",
      "category": "Setting::General",
      "settings_type": "string",
      "default": "root@some.host.fqdn",
      "created_at": "2020-05-20 13:18:01 UTC",
      "updated_at": "2020-05-20 13:18:01 UTC",
      "id": 333972760,
      "name": "administrator",
      "full_name": null,
      "value": "root@some.host.fqdn",
      "category_name": "General"
    }
  ]
}

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

search
optional

filter results

Validations:

  • Must be a String

order
optional

Sort field and order, eg. ‘id DESC’

Validations:

  • Must be a String

page
optional

Page number, starting at 1

Validations:

  • Must be a number.

per_page
optional

Number of results per page to return

Validations:

  • Must be a number.

Search fields

Field name Type Possible values
description text
name string