Get settings
GET
/setup/api/settings
enterprise-admin
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.github.com/setup/api/settings'
响应示例响应示例
{
"enterprise": {
"admin_password": "string",
"assets": "string",
"auth_mode": "string",
"avatar": {
"enabled": true,
"uri": "string"
},
"cas": {
"url": "string"
},
"collectd": {
"enabled": true,
"encryption": "string",
"password": "string",
"port": 0,
"server": "string",
"username": "string"
},
"configuration_id": 0,
"configuration_run_count": 0,
"customer": {
"email": "string",
"name": "string",
"public_key_data": "string",
"secret_key_data": "string",
"uuid": "string"
},
"expire_sessions": true,
"github_hostname": "string",
"github_oauth": {
"client_id": "string",
"client_secret": "string",
"organization_name": "string",
"organization_team": "string"
},
"github_ssl": {
"cert": "string",
"enabled": true,
"key": "string"
},
"http_proxy": "string",
"identicons_host": "string",
"ldap": {
"admin_group": "string",
"base": [
null
],
"bind_dn": "string",
"host": "string",
"method": "string",
"password": "string",
"port": 0,
"posix_support": true,
"profile": {
"key": "string",
"mail": "string",
"name": "string",
"uid": "string"
},
"reconciliation": {
"org": "string",
"user": "string"
},
"recursive_group_search": true,
"search_strategy": "string",
"sync_enabled": true,
"team_sync_interval": 0,
"uid": "string",
"user_groups": [
null
],
"user_sync_emails": true,
"user_sync_interval": 0,
"user_sync_keys": true,
"virtual_attribute_enabled": true
},
"license": {
"cluster_support": true,
"evaluation": true,
"expire_at": "string",
"perpetual": true,
"seats": 0,
"ssh_allowed": true,
"support_key": "string",
"unlimited_seating": true
},
"load_balancer": "string",
"mapping": {
"basemap": "string",
"enabled": true,
"tileserver": "string",
"token": "string"
},
"ntp": {
"primary_server": "string",
"secondary_server": "string"
},
"pages": {
"enabled": true
},
"private_mode": true,
"public_pages": true,
"saml": {
"certificate": "string",
"certificate_path": "string",
"disable_admin_demote": true,
"idp_initiated_sso": true,
"issuer": "string",
"sso_url": "string"
},
"signup_enabled": true,
"smtp": {
"address": "string",
"authentication": "string",
"discard-to-noreply-address": true,
"domain": "string",
"enable_starttls_auto": true,
"enabled": true,
"noreply_address": "string",
"password": "string",
"port": "string",
"support_address": "string",
"support_address_type": "string",
"user_name": "string",
"username": "string"
},
"snmp": {
"community": "string",
"enabled": true
},
"subdomain_isolation": true,
"syslog": {
"enabled": true,
"protocol_name": "string",
"server": "string"
},
"timezone": "string"
},
"run_list": [
"string"
]
}