{"restSchemaVersion":"1.0","errors":[{"error_id":"INTERNAL_ERROR","description":"Internal server error.","http_status":"500"},{"error_id":"AUTH_REQUIRED","description":"The requested resource requires authentication.","http_status":"401"},{"error_id":"AUTH_INVALID_CREDENTIALS","description":"Invalid username and\/or password.","http_status":"401"},{"error_id":"AUTH_INVALID_SESSION","description":"Session ID is invalid.","http_status":"401"},{"error_id":"AUTH_EXPIRED_PASSWORD","description":"The password must be changed. Access only to password change resources.","http_status":"403"},{"error_id":"AUTH_DISABLED_ACCOUNT","description":"Account is either temporarily or permanently disabled.","http_status":"403"},{"error_id":"AUTH_FORBIDDEN","description":"User is not authorized to access the requested resource.","http_status":"403"},{"error_id":"AUTH_INVALID_TOKEN","description":"OAuth access token is invalid.","http_status":"401"},{"error_id":"AUTH_EXPIRED_TOKEN","description":"OAuth access token is expired.","http_status":"401"},{"error_id":"AUTH_INVALID_CODE","description":"OAuth access code is invalid.","http_status":"401"},{"error_id":"AUTH_EXPIRED_CODE","description":"OAuth access code is expired.","http_status":"401"},{"error_id":"RESOURCE_NOT_FOUND","description":"Requested resource was not found.","http_status":"404"},{"error_id":"HTTP_INVALID_METHOD","description":"Requested method is not available for this resource.","http_status":"405"},{"error_id":"HTTP_INVALID_HEADER","description":"An HTTP header was malformed.","http_status":"400"},{"error_id":"REQUEST_INVALID_INPUT","description":"Malformed input structure.","http_status":"400"},{"error_id":"URI_INVALID_PARAMETER","description":"URI parameter is not supported or malformed.","http_status":"400"},{"error_id":"URI_MISSING_PARAMETER","description":"Missing required parameter.","http_status":"400"}],"name":"npm.system_settings","title":"System Settings API.","version":"1.0","schemas":[],"defaultAuthorization":"required","servicePath":"\/api\/npm.system_settings\/1.0","resources":{"Settings":{"methods":{"Get System Settings":{"description":"Get System Settings.","response":{"properties":{"local_time":{"description":"System local time (unix epoch).","required":true,"type":"string"},"timezone":{"description":"System time zone.","required":true,"type":"string"},"http":{"properties":{"port":{"description":"HTTP port.","required":true,"type":"number"},"disabled":{"description":"Is HTTP disabled.","required":true,"type":"string"}},"description":"HTTP Settings.","required":true,"type":"object","id":"SystemHTTP"},"ntp_servers":{"properties":{"items":{"description":"NTP servers.","items":{"properties":{"order":{"description":"Server order.","required":true,"type":"number"},"ipaddr":{"description":"IP address of the NTP server.","required":true,"type":"string"},"encryption":{"description":"Encryption.","required":true,"type":"string","enum":["NONE","MD5","SHA1"]},"index":{"description":"Index (between 0 and 65536).","required":true,"type":"number"}},"description":"NTP Server.","required":false,"type":"object","id":"SettingsNTP"},"required":true,"type":"array","id":"SettingsNTPs"}},"description":"NTP servers.","required":true,"type":"object","id":"SystemNTP"},"https":{"properties":{"port":{"description":"HTTPS port.","required":true,"type":"number"},"ssl_protocols":{"description":"SSL Protocols.","required":true,"type":"string"},"ssl_ciphers":{"description":"SSL ciphers.","required":true,"type":"string"},"disabled":{"description":"IS HTTPS disabled.","required":true,"type":"string"}},"description":"HTTPS Settings.","required":true,"type":"object","id":"SystemHTTPS"},"licenses":{"properties":{"items":{"description":"Licenses.","items":{"properties":{"featurekey":{"description":"Feature key.","required":true,"type":"string"},"status":{"description":"Status (Active, OK, Invalid, etc.)","required":true,"type":"string"},"description":{"description":"Description.","required":true,"type":"string"},"serial_number":{"description":"Serial number.","required":true,"type":"string"},"scope":{"description":"Scope.","required":true,"type":"string"},"install_method":{"description":"Installation method.","required":true,"type":"string"},"key":{"description":"Key.","required":true,"type":"string"},"host":{"description":"Module host name.","required":true,"type":"string"}},"description":"License.","required":false,"type":"object","id":"SettingsLicense"},"required":true,"type":"array","id":"SettingsLicenses"}},"description":"Licenses.","required":true,"type":"object","id":"SystemLicenses"}},"description":"System Settings.","type":"object","id":"SystemSettings","example":{"http":{"disabled":true,"port":80},"ntp_servers":{"items":[{"encryption":"NONE","ipaddr":"10.38.130.25","order":1,"index":0},{"encryption":"MD5","ipaddr":"10.38.128.29","order":2,"index":2001},{"encryption":"SHA1","ipaddr":"10.38.128.30","order":3,"index":2002}]},"local_time":"1588195616","https":{"disabled":false,"ssl_ciphers":"EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH","port":443,"ssl_protocols":"TLSv1.2"},"licenses":{"items":[{"status":"Valid","description":"Unlimited","install_method":"factory","host":"uihost","key":"LK1-VLAB-0000-0000-1-DE6E-948E-A21B","serial_number":"Z59VM0009E364","scope":"feature","featurekey":"VLAB"}]},"timezone":"America\/New_York"}},"httpmethod":"GET","formats":["xml","json"],"authorization_methods":["BASIC","COOKIE","OAUTH_2_0"],"path":"settings","authorization":"required"}}}},"description":""}