Class: ArgoWorkflows::ArchivedWorkflowServiceApi
- Inherits:
-
Object
- Object
- ArgoWorkflows::ArchivedWorkflowServiceApi
- Defined in:
- lib/argo_workflows/api/archived_workflow_service_api.rb
Instance Attribute Summary collapse
-
#api_client ⇒ Object
Returns the value of attribute api_client.
Instance Method Summary collapse
- #archived_workflow_service_delete_archived_workflow(uid, opts = {}) ⇒ IoArgoprojWorkflowV1alpha1ArchivedWorkflowDeletedResponse
-
#archived_workflow_service_delete_archived_workflow_with_http_info(uid, opts = {}) ⇒ Array<(IoArgoprojWorkflowV1alpha1ArchivedWorkflowDeletedResponse, Fixnum, Hash)>
IoArgoprojWorkflowV1alpha1ArchivedWorkflowDeletedResponse data, response status code and response headers.
- #archived_workflow_service_get_archived_workflow(uid, opts = {}) ⇒ IoArgoprojWorkflowV1alpha1Workflow
-
#archived_workflow_service_get_archived_workflow_with_http_info(uid, opts = {}) ⇒ Array<(IoArgoprojWorkflowV1alpha1Workflow, Fixnum, Hash)>
IoArgoprojWorkflowV1alpha1Workflow data, response status code and response headers.
- #archived_workflow_service_list_archived_workflow_label_keys(opts = {}) ⇒ IoArgoprojWorkflowV1alpha1LabelKeys
-
#archived_workflow_service_list_archived_workflow_label_keys_with_http_info(opts = {}) ⇒ Array<(IoArgoprojWorkflowV1alpha1LabelKeys, Fixnum, Hash)>
IoArgoprojWorkflowV1alpha1LabelKeys data, response status code and response headers.
- #archived_workflow_service_list_archived_workflow_label_values(opts = {}) ⇒ IoArgoprojWorkflowV1alpha1LabelValues
-
#archived_workflow_service_list_archived_workflow_label_values_with_http_info(opts = {}) ⇒ Array<(IoArgoprojWorkflowV1alpha1LabelValues, Fixnum, Hash)>
IoArgoprojWorkflowV1alpha1LabelValues data, response status code and response headers.
- #archived_workflow_service_list_archived_workflows(opts = {}) ⇒ IoArgoprojWorkflowV1alpha1WorkflowList
-
#archived_workflow_service_list_archived_workflows_with_http_info(opts = {}) ⇒ Array<(IoArgoprojWorkflowV1alpha1WorkflowList, Fixnum, Hash)>
IoArgoprojWorkflowV1alpha1WorkflowList data, response status code and response headers.
- #archived_workflow_service_resubmit_archived_workflow(uid, body, opts = {}) ⇒ IoArgoprojWorkflowV1alpha1Workflow
-
#archived_workflow_service_resubmit_archived_workflow_with_http_info(uid, body, opts = {}) ⇒ Array<(IoArgoprojWorkflowV1alpha1Workflow, Fixnum, Hash)>
IoArgoprojWorkflowV1alpha1Workflow data, response status code and response headers.
- #archived_workflow_service_retry_archived_workflow(uid, body, opts = {}) ⇒ IoArgoprojWorkflowV1alpha1Workflow
-
#archived_workflow_service_retry_archived_workflow_with_http_info(uid, body, opts = {}) ⇒ Array<(IoArgoprojWorkflowV1alpha1Workflow, Fixnum, Hash)>
IoArgoprojWorkflowV1alpha1Workflow data, response status code and response headers.
-
#initialize(api_client = ApiClient.default) ⇒ ArchivedWorkflowServiceApi
constructor
A new instance of ArchivedWorkflowServiceApi.
Constructor Details
#initialize(api_client = ApiClient.default) ⇒ ArchivedWorkflowServiceApi
Returns a new instance of ArchivedWorkflowServiceApi.
19 20 21 |
# File 'lib/argo_workflows/api/archived_workflow_service_api.rb', line 19 def initialize(api_client = ApiClient.default) @api_client = api_client end |
Instance Attribute Details
#api_client ⇒ Object
Returns the value of attribute api_client.
17 18 19 |
# File 'lib/argo_workflows/api/archived_workflow_service_api.rb', line 17 def api_client @api_client end |
Instance Method Details
#archived_workflow_service_delete_archived_workflow(uid, opts = {}) ⇒ IoArgoprojWorkflowV1alpha1ArchivedWorkflowDeletedResponse
26 27 28 29 |
# File 'lib/argo_workflows/api/archived_workflow_service_api.rb', line 26 def archived_workflow_service_delete_archived_workflow(uid, opts = {}) data, _status_code, _headers = archived_workflow_service_delete_archived_workflow_with_http_info(uid, opts) data end |
#archived_workflow_service_delete_archived_workflow_with_http_info(uid, opts = {}) ⇒ Array<(IoArgoprojWorkflowV1alpha1ArchivedWorkflowDeletedResponse, Fixnum, Hash)>
Returns IoArgoprojWorkflowV1alpha1ArchivedWorkflowDeletedResponse data, response status code and response headers.
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
# File 'lib/argo_workflows/api/archived_workflow_service_api.rb', line 35 def archived_workflow_service_delete_archived_workflow_with_http_info(uid, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: ArchivedWorkflowServiceApi.archived_workflow_service_delete_archived_workflow ...' end # verify the required parameter 'uid' is set if @api_client.config.client_side_validation && uid.nil? fail ArgumentError, "Missing the required parameter 'uid' when calling ArchivedWorkflowServiceApi.archived_workflow_service_delete_archived_workflow" end # resource path local_var_path = '/api/v1/archived-workflows/{uid}'.sub('{' + 'uid' + '}', uid.to_s) # query parameters query_params = {} query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil? # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'IoArgoprojWorkflowV1alpha1ArchivedWorkflowDeletedResponse') if @api_client.config.debugging @api_client.config.logger.debug "API called: ArchivedWorkflowServiceApi#archived_workflow_service_delete_archived_workflow\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#archived_workflow_service_get_archived_workflow(uid, opts = {}) ⇒ IoArgoprojWorkflowV1alpha1Workflow
80 81 82 83 |
# File 'lib/argo_workflows/api/archived_workflow_service_api.rb', line 80 def archived_workflow_service_get_archived_workflow(uid, opts = {}) data, _status_code, _headers = archived_workflow_service_get_archived_workflow_with_http_info(uid, opts) data end |
#archived_workflow_service_get_archived_workflow_with_http_info(uid, opts = {}) ⇒ Array<(IoArgoprojWorkflowV1alpha1Workflow, Fixnum, Hash)>
Returns IoArgoprojWorkflowV1alpha1Workflow data, response status code and response headers.
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 |
# File 'lib/argo_workflows/api/archived_workflow_service_api.rb', line 90 def archived_workflow_service_get_archived_workflow_with_http_info(uid, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: ArchivedWorkflowServiceApi.archived_workflow_service_get_archived_workflow ...' end # verify the required parameter 'uid' is set if @api_client.config.client_side_validation && uid.nil? fail ArgumentError, "Missing the required parameter 'uid' when calling ArchivedWorkflowServiceApi.archived_workflow_service_get_archived_workflow" end # resource path local_var_path = '/api/v1/archived-workflows/{uid}'.sub('{' + 'uid' + '}', uid.to_s) # query parameters query_params = {} query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil? query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil? # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['BearerToken'] 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 => 'IoArgoprojWorkflowV1alpha1Workflow') if @api_client.config.debugging @api_client.config.logger.debug "API called: ArchivedWorkflowServiceApi#archived_workflow_service_get_archived_workflow\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#archived_workflow_service_list_archived_workflow_label_keys(opts = {}) ⇒ IoArgoprojWorkflowV1alpha1LabelKeys
134 135 136 137 |
# File 'lib/argo_workflows/api/archived_workflow_service_api.rb', line 134 def archived_workflow_service_list_archived_workflow_label_keys(opts = {}) data, _status_code, _headers = archived_workflow_service_list_archived_workflow_label_keys_with_http_info(opts) data end |
#archived_workflow_service_list_archived_workflow_label_keys_with_http_info(opts = {}) ⇒ Array<(IoArgoprojWorkflowV1alpha1LabelKeys, Fixnum, Hash)>
Returns IoArgoprojWorkflowV1alpha1LabelKeys data, response status code and response headers.
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 170 171 172 173 174 175 176 177 |
# File 'lib/argo_workflows/api/archived_workflow_service_api.rb', line 142 def archived_workflow_service_list_archived_workflow_label_keys_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: ArchivedWorkflowServiceApi.archived_workflow_service_list_archived_workflow_label_keys ...' end # resource path local_var_path = '/api/v1/archived-workflows-label-keys' # query parameters query_params = {} query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil? # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['BearerToken'] 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 => 'IoArgoprojWorkflowV1alpha1LabelKeys') if @api_client.config.debugging @api_client.config.logger.debug "API called: ArchivedWorkflowServiceApi#archived_workflow_service_list_archived_workflow_label_keys\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#archived_workflow_service_list_archived_workflow_label_values(opts = {}) ⇒ IoArgoprojWorkflowV1alpha1LabelValues
191 192 193 194 |
# File 'lib/argo_workflows/api/archived_workflow_service_api.rb', line 191 def archived_workflow_service_list_archived_workflow_label_values(opts = {}) data, _status_code, _headers = archived_workflow_service_list_archived_workflow_label_values_with_http_info(opts) data end |
#archived_workflow_service_list_archived_workflow_label_values_with_http_info(opts = {}) ⇒ Array<(IoArgoprojWorkflowV1alpha1LabelValues, Fixnum, Hash)>
Returns IoArgoprojWorkflowV1alpha1LabelValues data, response status code and response headers.
209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 |
# File 'lib/argo_workflows/api/archived_workflow_service_api.rb', line 209 def archived_workflow_service_list_archived_workflow_label_values_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: ArchivedWorkflowServiceApi.archived_workflow_service_list_archived_workflow_label_values ...' end # resource path local_var_path = '/api/v1/archived-workflows-label-values' # query parameters query_params = {} query_params[:'listOptions.labelSelector'] = opts[:'list_options_label_selector'] if !opts[:'list_options_label_selector'].nil? query_params[:'listOptions.fieldSelector'] = opts[:'list_options_field_selector'] if !opts[:'list_options_field_selector'].nil? query_params[:'listOptions.watch'] = opts[:'list_options_watch'] if !opts[:'list_options_watch'].nil? query_params[:'listOptions.allowWatchBookmarks'] = opts[:'list_options_allow_watch_bookmarks'] if !opts[:'list_options_allow_watch_bookmarks'].nil? query_params[:'listOptions.resourceVersion'] = opts[:'list_options_resource_version'] if !opts[:'list_options_resource_version'].nil? query_params[:'listOptions.resourceVersionMatch'] = opts[:'list_options_resource_version_match'] if !opts[:'list_options_resource_version_match'].nil? query_params[:'listOptions.timeoutSeconds'] = opts[:'list_options_timeout_seconds'] if !opts[:'list_options_timeout_seconds'].nil? query_params[:'listOptions.limit'] = opts[:'list_options_limit'] if !opts[:'list_options_limit'].nil? query_params[:'listOptions.continue'] = opts[:'list_options_continue'] if !opts[:'list_options_continue'].nil? query_params[:'listOptions.sendInitialEvents'] = opts[:'list_options_send_initial_events'] if !opts[:'list_options_send_initial_events'].nil? query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil? # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['BearerToken'] 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 => 'IoArgoprojWorkflowV1alpha1LabelValues') if @api_client.config.debugging @api_client.config.logger.debug "API called: ArchivedWorkflowServiceApi#archived_workflow_service_list_archived_workflow_label_values\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#archived_workflow_service_list_archived_workflows(opts = {}) ⇒ IoArgoprojWorkflowV1alpha1WorkflowList
269 270 271 272 |
# File 'lib/argo_workflows/api/archived_workflow_service_api.rb', line 269 def archived_workflow_service_list_archived_workflows(opts = {}) data, _status_code, _headers = archived_workflow_service_list_archived_workflows_with_http_info(opts) data end |
#archived_workflow_service_list_archived_workflows_with_http_info(opts = {}) ⇒ Array<(IoArgoprojWorkflowV1alpha1WorkflowList, Fixnum, Hash)>
Returns IoArgoprojWorkflowV1alpha1WorkflowList data, response status code and response headers.
288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 |
# File 'lib/argo_workflows/api/archived_workflow_service_api.rb', line 288 def archived_workflow_service_list_archived_workflows_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: ArchivedWorkflowServiceApi.archived_workflow_service_list_archived_workflows ...' end # resource path local_var_path = '/api/v1/archived-workflows' # query parameters query_params = {} query_params[:'listOptions.labelSelector'] = opts[:'list_options_label_selector'] if !opts[:'list_options_label_selector'].nil? query_params[:'listOptions.fieldSelector'] = opts[:'list_options_field_selector'] if !opts[:'list_options_field_selector'].nil? query_params[:'listOptions.watch'] = opts[:'list_options_watch'] if !opts[:'list_options_watch'].nil? query_params[:'listOptions.allowWatchBookmarks'] = opts[:'list_options_allow_watch_bookmarks'] if !opts[:'list_options_allow_watch_bookmarks'].nil? query_params[:'listOptions.resourceVersion'] = opts[:'list_options_resource_version'] if !opts[:'list_options_resource_version'].nil? query_params[:'listOptions.resourceVersionMatch'] = opts[:'list_options_resource_version_match'] if !opts[:'list_options_resource_version_match'].nil? query_params[:'listOptions.timeoutSeconds'] = opts[:'list_options_timeout_seconds'] if !opts[:'list_options_timeout_seconds'].nil? query_params[:'listOptions.limit'] = opts[:'list_options_limit'] if !opts[:'list_options_limit'].nil? query_params[:'listOptions.continue'] = opts[:'list_options_continue'] if !opts[:'list_options_continue'].nil? query_params[:'listOptions.sendInitialEvents'] = opts[:'list_options_send_initial_events'] if !opts[:'list_options_send_initial_events'].nil? query_params[:'namePrefix'] = opts[:'name_prefix'] if !opts[:'name_prefix'].nil? query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil? # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['BearerToken'] 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 => 'IoArgoprojWorkflowV1alpha1WorkflowList') if @api_client.config.debugging @api_client.config.logger.debug "API called: ArchivedWorkflowServiceApi#archived_workflow_service_list_archived_workflows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#archived_workflow_service_resubmit_archived_workflow(uid, body, opts = {}) ⇒ IoArgoprojWorkflowV1alpha1Workflow
339 340 341 342 |
# File 'lib/argo_workflows/api/archived_workflow_service_api.rb', line 339 def archived_workflow_service_resubmit_archived_workflow(uid, body, opts = {}) data, _status_code, _headers = archived_workflow_service_resubmit_archived_workflow_with_http_info(uid, body, opts) data end |
#archived_workflow_service_resubmit_archived_workflow_with_http_info(uid, body, opts = {}) ⇒ Array<(IoArgoprojWorkflowV1alpha1Workflow, Fixnum, Hash)>
Returns IoArgoprojWorkflowV1alpha1Workflow data, response status code and response headers.
348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 |
# File 'lib/argo_workflows/api/archived_workflow_service_api.rb', line 348 def archived_workflow_service_resubmit_archived_workflow_with_http_info(uid, body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: ArchivedWorkflowServiceApi.archived_workflow_service_resubmit_archived_workflow ...' end # verify the required parameter 'uid' is set if @api_client.config.client_side_validation && uid.nil? fail ArgumentError, "Missing the required parameter 'uid' when calling ArchivedWorkflowServiceApi.archived_workflow_service_resubmit_archived_workflow" end # verify the required parameter 'body' is set if @api_client.config.client_side_validation && body.nil? fail ArgumentError, "Missing the required parameter 'body' when calling ArchivedWorkflowServiceApi.archived_workflow_service_resubmit_archived_workflow" end # resource path local_var_path = '/api/v1/archived-workflows/{uid}/resubmit'.sub('{' + 'uid' + '}', uid.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'IoArgoprojWorkflowV1alpha1Workflow') if @api_client.config.debugging @api_client.config.logger.debug "API called: ArchivedWorkflowServiceApi#archived_workflow_service_resubmit_archived_workflow\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#archived_workflow_service_retry_archived_workflow(uid, body, opts = {}) ⇒ IoArgoprojWorkflowV1alpha1Workflow
395 396 397 398 |
# File 'lib/argo_workflows/api/archived_workflow_service_api.rb', line 395 def archived_workflow_service_retry_archived_workflow(uid, body, opts = {}) data, _status_code, _headers = archived_workflow_service_retry_archived_workflow_with_http_info(uid, body, opts) data end |
#archived_workflow_service_retry_archived_workflow_with_http_info(uid, body, opts = {}) ⇒ Array<(IoArgoprojWorkflowV1alpha1Workflow, Fixnum, Hash)>
Returns IoArgoprojWorkflowV1alpha1Workflow data, response status code and response headers.
404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 |
# File 'lib/argo_workflows/api/archived_workflow_service_api.rb', line 404 def archived_workflow_service_retry_archived_workflow_with_http_info(uid, body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: ArchivedWorkflowServiceApi.archived_workflow_service_retry_archived_workflow ...' end # verify the required parameter 'uid' is set if @api_client.config.client_side_validation && uid.nil? fail ArgumentError, "Missing the required parameter 'uid' when calling ArchivedWorkflowServiceApi.archived_workflow_service_retry_archived_workflow" end # verify the required parameter 'body' is set if @api_client.config.client_side_validation && body.nil? fail ArgumentError, "Missing the required parameter 'body' when calling ArchivedWorkflowServiceApi.archived_workflow_service_retry_archived_workflow" end # resource path local_var_path = '/api/v1/archived-workflows/{uid}/retry'.sub('{' + 'uid' + '}', uid.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(body) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'IoArgoprojWorkflowV1alpha1Workflow') if @api_client.config.debugging @api_client.config.logger.debug "API called: ArchivedWorkflowServiceApi#archived_workflow_service_retry_archived_workflow\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |