Method: DocuSign_eSign::DiagnosticsApi#get_request_log_settings_with_http_info
- Defined in:
- lib/docusign_esign/api/diagnostics_api.rb
#get_request_log_settings_with_http_info ⇒ Array<(DiagnosticsSettingsInformation, Fixnum, Hash)>
Gets the API request logging settings. Retrieves the current API request logging setting for the user and remaining log entries. Response The response includes the current API request logging setting for the user, along with the maximum log entries and remaining log entries.
137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 |
# File 'lib/docusign_esign/api/diagnostics_api.rb', line 137 def get_request_log_settings_with_http_info() if @api_client.config.debugging @api_client.config.logger.debug "Calling API: DiagnosticsApi.get_request_log_settings ..." end # resource path local_var_path = "/v2.1/diagnostics/settings".sub('{format}','json') # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = [] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'DiagnosticsSettingsInformation') if @api_client.config.debugging @api_client.config.logger.debug "API called: DiagnosticsApi#get_request_log_settings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |