daytona_toolbox_api_client 0.152.1 → 0.153.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 02bdfbf9a2b309118cdc46a6e1d5889ad1715f043bf25906d353f9dc3972960c
4
- data.tar.gz: fb21c781b37032b374a5d76b7b8b72330e40cc484b9e808a9dac1f9975d44fbb
3
+ metadata.gz: 06fdf7b7df844ad2081e5ae435e35fa554c782335e251f4c5b4f91243f9caca9
4
+ data.tar.gz: 8f8421b22fe825e9a4994de3c7f96b360209316c39db8ca3600b983d5a4c06a0
5
5
  SHA512:
6
- metadata.gz: 75d1f9223c15b4df782ace8121008a418239225222c2a931c0d13b80bfc813936f3d2240728b04fddc450257c64f97e2d95435c9474594372571c89a5bb07612
7
- data.tar.gz: 0bd84f9c9eab47ff034fb79bc35fa56c7f4c7a5370cbfdc4c787cd6712bc58a0c0747b75c6d42462fe5bbdaf493dd7ac572e8295dbdbf7833d89c9b47be6d28d
6
+ metadata.gz: 49bd4eb185d6cc71e3f7df24ca95041885a0a096eb8bddf389752f0cdafadb6dbc97bc2675610e4301a781d7f486ca6d5687f0dbea747084255447861df304e7
7
+ data.tar.gz: 9eada97caeadf5b96a63c38880fb7207e0de54648908dc2031a345cddbf53f5d9f9151bb3c207492baa607ab3452c003b14f00bcf7d19f25080abb5d23409cea
@@ -406,6 +406,123 @@ module DaytonaToolboxApiClient
406
406
  return data, status_code, headers
407
407
  end
408
408
 
409
+ # Get entrypoint logs
410
+ # Get logs for a sandbox entrypoint session. Supports both HTTP and WebSocket streaming.
411
+ # @param [Hash] opts the optional parameters
412
+ # @option opts [Boolean] :follow Follow logs in real-time (WebSocket only)
413
+ # @return [String]
414
+ def get_entrypoint_logs(opts = {})
415
+ data, _status_code, _headers = get_entrypoint_logs_with_http_info(opts)
416
+ data
417
+ end
418
+
419
+ # Get entrypoint logs
420
+ # Get logs for a sandbox entrypoint session. Supports both HTTP and WebSocket streaming.
421
+ # @param [Hash] opts the optional parameters
422
+ # @option opts [Boolean] :follow Follow logs in real-time (WebSocket only)
423
+ # @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
424
+ def get_entrypoint_logs_with_http_info(opts = {})
425
+ if @api_client.config.debugging
426
+ @api_client.config.logger.debug 'Calling API: ProcessApi.get_entrypoint_logs ...'
427
+ end
428
+ # resource path
429
+ local_var_path = '/process/session/entrypoint/logs'
430
+
431
+ # query parameters
432
+ query_params = opts[:query_params] || {}
433
+ query_params[:'follow'] = opts[:'follow'] if !opts[:'follow'].nil?
434
+
435
+ # header parameters
436
+ header_params = opts[:header_params] || {}
437
+ # HTTP header 'Accept' (if needed)
438
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain']) unless header_params['Accept']
439
+
440
+ # form parameters
441
+ form_params = opts[:form_params] || {}
442
+
443
+ # http body (model)
444
+ post_body = opts[:debug_body]
445
+
446
+ # return_type
447
+ return_type = opts[:debug_return_type] || 'String'
448
+
449
+ # auth_names
450
+ auth_names = opts[:debug_auth_names] || []
451
+
452
+ new_options = opts.merge(
453
+ :operation => :"ProcessApi.get_entrypoint_logs",
454
+ :header_params => header_params,
455
+ :query_params => query_params,
456
+ :form_params => form_params,
457
+ :body => post_body,
458
+ :auth_names => auth_names,
459
+ :return_type => return_type
460
+ )
461
+
462
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
463
+ if @api_client.config.debugging
464
+ @api_client.config.logger.debug "API called: ProcessApi#get_entrypoint_logs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
465
+ end
466
+ return data, status_code, headers
467
+ end
468
+
469
+ # Get entrypoint session details
470
+ # Get details of an entrypoint session including its commands
471
+ # @param [Hash] opts the optional parameters
472
+ # @return [Session]
473
+ def get_entrypoint_session(opts = {})
474
+ data, _status_code, _headers = get_entrypoint_session_with_http_info(opts)
475
+ data
476
+ end
477
+
478
+ # Get entrypoint session details
479
+ # Get details of an entrypoint session including its commands
480
+ # @param [Hash] opts the optional parameters
481
+ # @return [Array<(Session, Integer, Hash)>] Session data, response status code and response headers
482
+ def get_entrypoint_session_with_http_info(opts = {})
483
+ if @api_client.config.debugging
484
+ @api_client.config.logger.debug 'Calling API: ProcessApi.get_entrypoint_session ...'
485
+ end
486
+ # resource path
487
+ local_var_path = '/process/session/entrypoint'
488
+
489
+ # query parameters
490
+ query_params = opts[:query_params] || {}
491
+
492
+ # header parameters
493
+ header_params = opts[:header_params] || {}
494
+ # HTTP header 'Accept' (if needed)
495
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
496
+
497
+ # form parameters
498
+ form_params = opts[:form_params] || {}
499
+
500
+ # http body (model)
501
+ post_body = opts[:debug_body]
502
+
503
+ # return_type
504
+ return_type = opts[:debug_return_type] || 'Session'
505
+
506
+ # auth_names
507
+ auth_names = opts[:debug_auth_names] || []
508
+
509
+ new_options = opts.merge(
510
+ :operation => :"ProcessApi.get_entrypoint_session",
511
+ :header_params => header_params,
512
+ :query_params => query_params,
513
+ :form_params => form_params,
514
+ :body => post_body,
515
+ :auth_names => auth_names,
516
+ :return_type => return_type
517
+ )
518
+
519
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
520
+ if @api_client.config.debugging
521
+ @api_client.config.logger.debug "API called: ProcessApi#get_entrypoint_session\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
522
+ end
523
+ return data, status_code, headers
524
+ end
525
+
409
526
  # Get PTY session information
410
527
  # Get detailed information about a specific pseudo-terminal session
411
528
  # @param session_id [String] PTY session ID
@@ -11,5 +11,5 @@ Generator version: 7.12.0
11
11
  =end
12
12
 
13
13
  module DaytonaToolboxApiClient
14
- VERSION = '0.152.1'
14
+ VERSION = '0.153.0'
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: daytona_toolbox_api_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.152.1
4
+ version: 0.153.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - daytonaio