daytona_api_client 0.214.0 → 0.216.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 +4 -4
- data/lib/daytona_api_client/api/audit_api.rb +4 -4
- data/lib/daytona_api_client/api/jobs_api.rb +10 -10
- data/lib/daytona_api_client/api/sandbox_api.rb +14 -14
- data/lib/daytona_api_client/api/secret_api.rb +2 -2
- data/lib/daytona_api_client/api/snapshots_api.rb +4 -4
- data/lib/daytona_api_client/models/list_secrets_response.rb +1 -1
- data/lib/daytona_api_client/models/paginated_audit_logs.rb +3 -3
- data/lib/daytona_api_client/models/paginated_jobs.rb +3 -3
- data/lib/daytona_api_client/models/paginated_logs.rb +3 -3
- data/lib/daytona_api_client/models/paginated_sandboxes_deprecated.rb +3 -3
- data/lib/daytona_api_client/models/paginated_snapshots.rb +3 -3
- data/lib/daytona_api_client/models/paginated_traces.rb +3 -3
- data/lib/daytona_api_client/models/sandbox.rb +4 -4
- data/lib/daytona_api_client/models/sandbox_list_item.rb +4 -4
- data/lib/daytona_api_client/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6e6709ab28e0e7fa33b3e459fc5fc79f0bc4ab8df1428c24abf1513fdcc08efe
|
|
4
|
+
data.tar.gz: d697512aa64b5d6c58567192ea0d891fe505a11e2607ddf09be817ce0fb8b5ab
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ba5f0095c0d2e8124fee2dd468bfbc667eac44060b563a78e5b7a491ba5fd882164759d05edddb6ca5f66140572b49060800fd7384ba56d4ecd39dba641a45df
|
|
7
|
+
data.tar.gz: 4d2a68b1c0565959ee38b6739d818496dc0dcd10d3417f33adcc078bba947da0e1e1c0e483530400042bd3c252194f93f377016db512286f8ba0c6f5dc0a4807
|
|
@@ -79,8 +79,8 @@ module DaytonaApiClient
|
|
|
79
79
|
# Get audit logs for organization
|
|
80
80
|
# @param organization_id [String] Organization ID
|
|
81
81
|
# @param [Hash] opts the optional parameters
|
|
82
|
-
# @option opts [
|
|
83
|
-
# @option opts [
|
|
82
|
+
# @option opts [Integer] :page Page number of the results (default to 1)
|
|
83
|
+
# @option opts [Integer] :limit Number of results per page (default to 100)
|
|
84
84
|
# @option opts [Time] :from Deprecated alias for `createdAt[gte]`. From date (ISO 8601 format).
|
|
85
85
|
# @option opts [Time] :to Deprecated alias for `createdAt[lte]`. To date (ISO 8601 format).
|
|
86
86
|
# @option opts [String] :next_token Token for cursor-based pagination. When provided, takes precedence over page parameter.
|
|
@@ -103,8 +103,8 @@ module DaytonaApiClient
|
|
|
103
103
|
# Get audit logs for organization
|
|
104
104
|
# @param organization_id [String] Organization ID
|
|
105
105
|
# @param [Hash] opts the optional parameters
|
|
106
|
-
# @option opts [
|
|
107
|
-
# @option opts [
|
|
106
|
+
# @option opts [Integer] :page Page number of the results (default to 1)
|
|
107
|
+
# @option opts [Integer] :limit Number of results per page (default to 100)
|
|
108
108
|
# @option opts [Time] :from Deprecated alias for `createdAt[gte]`. From date (ISO 8601 format).
|
|
109
109
|
# @option opts [Time] :to Deprecated alias for `createdAt[lte]`. To date (ISO 8601 format).
|
|
110
110
|
# @option opts [String] :next_token Token for cursor-based pagination. When provided, takes precedence over page parameter.
|
|
@@ -83,10 +83,10 @@ module DaytonaApiClient
|
|
|
83
83
|
# List jobs for the runner
|
|
84
84
|
# Returns a paginated list of jobs for the runner, optionally filtered by status.
|
|
85
85
|
# @param [Hash] opts the optional parameters
|
|
86
|
-
# @option opts [
|
|
87
|
-
# @option opts [
|
|
86
|
+
# @option opts [Integer] :page Page number of the results (default to 1)
|
|
87
|
+
# @option opts [Integer] :limit Maximum number of jobs to return (default: 100, max: 500) (default to 100)
|
|
88
88
|
# @option opts [JobStatus] :status Filter jobs by status
|
|
89
|
-
# @option opts [
|
|
89
|
+
# @option opts [Integer] :offset Number of jobs to skip for pagination (default: 0)
|
|
90
90
|
# @return [PaginatedJobs]
|
|
91
91
|
def list_jobs(opts = {})
|
|
92
92
|
data, _status_code, _headers = list_jobs_with_http_info(opts)
|
|
@@ -96,10 +96,10 @@ module DaytonaApiClient
|
|
|
96
96
|
# List jobs for the runner
|
|
97
97
|
# Returns a paginated list of jobs for the runner, optionally filtered by status.
|
|
98
98
|
# @param [Hash] opts the optional parameters
|
|
99
|
-
# @option opts [
|
|
100
|
-
# @option opts [
|
|
99
|
+
# @option opts [Integer] :page Page number of the results (default to 1)
|
|
100
|
+
# @option opts [Integer] :limit Maximum number of jobs to return (default: 100, max: 500) (default to 100)
|
|
101
101
|
# @option opts [JobStatus] :status Filter jobs by status
|
|
102
|
-
# @option opts [
|
|
102
|
+
# @option opts [Integer] :offset Number of jobs to skip for pagination (default: 0)
|
|
103
103
|
# @return [Array<(PaginatedJobs, Integer, Hash)>] PaginatedJobs data, response status code and response headers
|
|
104
104
|
def list_jobs_with_http_info(opts = {})
|
|
105
105
|
if @api_client.config.debugging
|
|
@@ -164,8 +164,8 @@ module DaytonaApiClient
|
|
|
164
164
|
# Long poll for jobs
|
|
165
165
|
# Long poll endpoint for runners to fetch pending jobs. Returns immediately if jobs are available, otherwise waits up to timeout seconds.
|
|
166
166
|
# @param [Hash] opts the optional parameters
|
|
167
|
-
# @option opts [
|
|
168
|
-
# @option opts [
|
|
167
|
+
# @option opts [Integer] :timeout Timeout in seconds for long polling (default: 30, max: 60)
|
|
168
|
+
# @option opts [Integer] :limit Maximum number of jobs to return (default: 10, max: 100)
|
|
169
169
|
# @return [PollJobsResponse]
|
|
170
170
|
def poll_jobs(opts = {})
|
|
171
171
|
data, _status_code, _headers = poll_jobs_with_http_info(opts)
|
|
@@ -175,8 +175,8 @@ module DaytonaApiClient
|
|
|
175
175
|
# Long poll for jobs
|
|
176
176
|
# Long poll endpoint for runners to fetch pending jobs. Returns immediately if jobs are available, otherwise waits up to timeout seconds.
|
|
177
177
|
# @param [Hash] opts the optional parameters
|
|
178
|
-
# @option opts [
|
|
179
|
-
# @option opts [
|
|
178
|
+
# @option opts [Integer] :timeout Timeout in seconds for long polling (default: 30, max: 60)
|
|
179
|
+
# @option opts [Integer] :limit Maximum number of jobs to return (default: 10, max: 100)
|
|
180
180
|
# @return [Array<(PollJobsResponse, Integer, Hash)>] PollJobsResponse data, response status code and response headers
|
|
181
181
|
def poll_jobs_with_http_info(opts = {})
|
|
182
182
|
if @api_client.config.debugging
|
|
@@ -1109,8 +1109,8 @@ module DaytonaApiClient
|
|
|
1109
1109
|
# @param to [Time] End of time range (ISO 8601)
|
|
1110
1110
|
# @param [Hash] opts the optional parameters
|
|
1111
1111
|
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
1112
|
-
# @option opts [
|
|
1113
|
-
# @option opts [
|
|
1112
|
+
# @option opts [Integer] :page Page number (1-indexed) (default to 1)
|
|
1113
|
+
# @option opts [Integer] :limit Number of items per page (default to 100)
|
|
1114
1114
|
# @option opts [Array<String>] :severities Filter by severity levels (DEBUG, INFO, WARN, ERROR)
|
|
1115
1115
|
# @option opts [String] :search Search in log body
|
|
1116
1116
|
# @return [PaginatedLogs]
|
|
@@ -1126,8 +1126,8 @@ module DaytonaApiClient
|
|
|
1126
1126
|
# @param to [Time] End of time range (ISO 8601)
|
|
1127
1127
|
# @param [Hash] opts the optional parameters
|
|
1128
1128
|
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
1129
|
-
# @option opts [
|
|
1130
|
-
# @option opts [
|
|
1129
|
+
# @option opts [Integer] :page Page number (1-indexed) (default to 1)
|
|
1130
|
+
# @option opts [Integer] :limit Number of items per page (default to 100)
|
|
1131
1131
|
# @option opts [Array<String>] :severities Filter by severity levels (DEBUG, INFO, WARN, ERROR)
|
|
1132
1132
|
# @option opts [String] :search Search in log body
|
|
1133
1133
|
# @return [Array<(PaginatedLogs, Integer, Hash)>] PaginatedLogs data, response status code and response headers
|
|
@@ -1484,8 +1484,8 @@ module DaytonaApiClient
|
|
|
1484
1484
|
# @param to [Time] End of time range (ISO 8601)
|
|
1485
1485
|
# @param [Hash] opts the optional parameters
|
|
1486
1486
|
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
1487
|
-
# @option opts [
|
|
1488
|
-
# @option opts [
|
|
1487
|
+
# @option opts [Integer] :page Page number (1-indexed) (default to 1)
|
|
1488
|
+
# @option opts [Integer] :limit Number of items per page (default to 100)
|
|
1489
1489
|
# @return [PaginatedTraces]
|
|
1490
1490
|
def get_sandbox_traces(sandbox_id, from, to, opts = {})
|
|
1491
1491
|
data, _status_code, _headers = get_sandbox_traces_with_http_info(sandbox_id, from, to, opts)
|
|
@@ -1499,8 +1499,8 @@ module DaytonaApiClient
|
|
|
1499
1499
|
# @param to [Time] End of time range (ISO 8601)
|
|
1500
1500
|
# @param [Hash] opts the optional parameters
|
|
1501
1501
|
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
1502
|
-
# @option opts [
|
|
1503
|
-
# @option opts [
|
|
1502
|
+
# @option opts [Integer] :page Page number (1-indexed) (default to 1)
|
|
1503
|
+
# @option opts [Integer] :limit Number of items per page (default to 100)
|
|
1504
1504
|
# @return [Array<(PaginatedTraces, Integer, Hash)>] PaginatedTraces data, response status code and response headers
|
|
1505
1505
|
def get_sandbox_traces_with_http_info(sandbox_id, from, to, opts = {})
|
|
1506
1506
|
if @api_client.config.debugging
|
|
@@ -1769,7 +1769,7 @@ module DaytonaApiClient
|
|
|
1769
1769
|
# @param [Hash] opts the optional parameters
|
|
1770
1770
|
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
1771
1771
|
# @option opts [String] :cursor Pagination cursor from a previous response
|
|
1772
|
-
# @option opts [
|
|
1772
|
+
# @option opts [Integer] :limit Number of results per page (default to 100)
|
|
1773
1773
|
# @option opts [String] :id Filter by ID prefix (case-insensitive)
|
|
1774
1774
|
# @option opts [String] :name Filter by name prefix (case-insensitive)
|
|
1775
1775
|
# @option opts [String] :labels JSON encoded labels to filter by
|
|
@@ -1806,7 +1806,7 @@ module DaytonaApiClient
|
|
|
1806
1806
|
# @param [Hash] opts the optional parameters
|
|
1807
1807
|
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
1808
1808
|
# @option opts [String] :cursor Pagination cursor from a previous response
|
|
1809
|
-
# @option opts [
|
|
1809
|
+
# @option opts [Integer] :limit Number of results per page (default to 100)
|
|
1810
1810
|
# @option opts [String] :id Filter by ID prefix (case-insensitive)
|
|
1811
1811
|
# @option opts [String] :name Filter by name prefix (case-insensitive)
|
|
1812
1812
|
# @option opts [String] :labels JSON encoded labels to filter by
|
|
@@ -1940,8 +1940,8 @@ module DaytonaApiClient
|
|
|
1940
1940
|
# [DEPRECATED] List all sandboxes paginated
|
|
1941
1941
|
# @param [Hash] opts the optional parameters
|
|
1942
1942
|
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
1943
|
-
# @option opts [
|
|
1944
|
-
# @option opts [
|
|
1943
|
+
# @option opts [Integer] :page Page number of the results (default to 1)
|
|
1944
|
+
# @option opts [Integer] :limit Number of results per page (default to 100)
|
|
1945
1945
|
# @option opts [String] :id Filter by partial ID match
|
|
1946
1946
|
# @option opts [String] :name Filter by partial name match
|
|
1947
1947
|
# @option opts [String] :labels JSON encoded labels to filter by
|
|
@@ -1968,8 +1968,8 @@ module DaytonaApiClient
|
|
|
1968
1968
|
# [DEPRECATED] List all sandboxes paginated
|
|
1969
1969
|
# @param [Hash] opts the optional parameters
|
|
1970
1970
|
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
1971
|
-
# @option opts [
|
|
1972
|
-
# @option opts [
|
|
1971
|
+
# @option opts [Integer] :page Page number of the results (default to 1)
|
|
1972
|
+
# @option opts [Integer] :limit Number of results per page (default to 100)
|
|
1973
1973
|
# @option opts [String] :id Filter by partial ID match
|
|
1974
1974
|
# @option opts [String] :name Filter by partial name match
|
|
1975
1975
|
# @option opts [String] :labels JSON encoded labels to filter by
|
|
@@ -278,7 +278,7 @@ module DaytonaApiClient
|
|
|
278
278
|
# @param [Hash] opts the optional parameters
|
|
279
279
|
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
280
280
|
# @option opts [String] :cursor Pagination cursor from a previous response
|
|
281
|
-
# @option opts [
|
|
281
|
+
# @option opts [Integer] :limit Number of results per page (default to 100)
|
|
282
282
|
# @option opts [String] :name Filter by partial name match
|
|
283
283
|
# @option opts [String] :sort Field to sort by (default to 'createdAt')
|
|
284
284
|
# @option opts [String] :order Direction to sort by (default to 'desc')
|
|
@@ -292,7 +292,7 @@ module DaytonaApiClient
|
|
|
292
292
|
# @param [Hash] opts the optional parameters
|
|
293
293
|
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
294
294
|
# @option opts [String] :cursor Pagination cursor from a previous response
|
|
295
|
-
# @option opts [
|
|
295
|
+
# @option opts [Integer] :limit Number of results per page (default to 100)
|
|
296
296
|
# @option opts [String] :name Filter by partial name match
|
|
297
297
|
# @option opts [String] :sort Field to sort by (default to 'createdAt')
|
|
298
298
|
# @option opts [String] :order Direction to sort by (default to 'desc')
|
|
@@ -217,8 +217,8 @@ module DaytonaApiClient
|
|
|
217
217
|
# List all snapshots
|
|
218
218
|
# @param [Hash] opts the optional parameters
|
|
219
219
|
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
220
|
-
# @option opts [
|
|
221
|
-
# @option opts [
|
|
220
|
+
# @option opts [Integer] :page Page number of the results (default to 1)
|
|
221
|
+
# @option opts [Integer] :limit Number of results per page (default to 100)
|
|
222
222
|
# @option opts [String] :name Filter by partial name match
|
|
223
223
|
# @option opts [String] :source_sandbox_id Filter by the ID of the sandbox the snapshot was created from
|
|
224
224
|
# @option opts [String] :sort Field to sort by (default to 'lastUsedAt')
|
|
@@ -232,8 +232,8 @@ module DaytonaApiClient
|
|
|
232
232
|
# List all snapshots
|
|
233
233
|
# @param [Hash] opts the optional parameters
|
|
234
234
|
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
235
|
-
# @option opts [
|
|
236
|
-
# @option opts [
|
|
235
|
+
# @option opts [Integer] :page Page number of the results (default to 1)
|
|
236
|
+
# @option opts [Integer] :limit Number of results per page (default to 100)
|
|
237
237
|
# @option opts [String] :name Filter by partial name match
|
|
238
238
|
# @option opts [String] :source_sandbox_id Filter by the ID of the sandbox the snapshot was created from
|
|
239
239
|
# @option opts [String] :sort Field to sort by (default to 'lastUsedAt')
|
|
@@ -51,9 +51,9 @@ module DaytonaApiClient
|
|
|
51
51
|
def self.openapi_types
|
|
52
52
|
{
|
|
53
53
|
:'items' => :'Array<AuditLog>',
|
|
54
|
-
:'total' => :'
|
|
55
|
-
:'page' => :'
|
|
56
|
-
:'total_pages' => :'
|
|
54
|
+
:'total' => :'Integer',
|
|
55
|
+
:'page' => :'Integer',
|
|
56
|
+
:'total_pages' => :'Integer',
|
|
57
57
|
:'next_token' => :'String'
|
|
58
58
|
}
|
|
59
59
|
end
|
|
@@ -47,9 +47,9 @@ module DaytonaApiClient
|
|
|
47
47
|
def self.openapi_types
|
|
48
48
|
{
|
|
49
49
|
:'items' => :'Array<Job>',
|
|
50
|
-
:'total' => :'
|
|
51
|
-
:'page' => :'
|
|
52
|
-
:'total_pages' => :'
|
|
50
|
+
:'total' => :'Integer',
|
|
51
|
+
:'page' => :'Integer',
|
|
52
|
+
:'total_pages' => :'Integer'
|
|
53
53
|
}
|
|
54
54
|
end
|
|
55
55
|
|
|
@@ -51,9 +51,9 @@ module DaytonaApiClient
|
|
|
51
51
|
def self.openapi_types
|
|
52
52
|
{
|
|
53
53
|
:'items' => :'Array<LogEntry>',
|
|
54
|
-
:'total' => :'
|
|
55
|
-
:'page' => :'
|
|
56
|
-
:'total_pages' => :'
|
|
54
|
+
:'total' => :'Integer',
|
|
55
|
+
:'page' => :'Integer',
|
|
56
|
+
:'total_pages' => :'Integer'
|
|
57
57
|
}
|
|
58
58
|
end
|
|
59
59
|
|
|
@@ -47,9 +47,9 @@ module DaytonaApiClient
|
|
|
47
47
|
def self.openapi_types
|
|
48
48
|
{
|
|
49
49
|
:'items' => :'Array<Sandbox>',
|
|
50
|
-
:'total' => :'
|
|
51
|
-
:'page' => :'
|
|
52
|
-
:'total_pages' => :'
|
|
50
|
+
:'total' => :'Integer',
|
|
51
|
+
:'page' => :'Integer',
|
|
52
|
+
:'total_pages' => :'Integer'
|
|
53
53
|
}
|
|
54
54
|
end
|
|
55
55
|
|
|
@@ -47,9 +47,9 @@ module DaytonaApiClient
|
|
|
47
47
|
def self.openapi_types
|
|
48
48
|
{
|
|
49
49
|
:'items' => :'Array<SnapshotDto>',
|
|
50
|
-
:'total' => :'
|
|
51
|
-
:'page' => :'
|
|
52
|
-
:'total_pages' => :'
|
|
50
|
+
:'total' => :'Integer',
|
|
51
|
+
:'page' => :'Integer',
|
|
52
|
+
:'total_pages' => :'Integer'
|
|
53
53
|
}
|
|
54
54
|
end
|
|
55
55
|
|
|
@@ -51,9 +51,9 @@ module DaytonaApiClient
|
|
|
51
51
|
def self.openapi_types
|
|
52
52
|
{
|
|
53
53
|
:'items' => :'Array<TraceSummary>',
|
|
54
|
-
:'total' => :'
|
|
55
|
-
:'page' => :'
|
|
56
|
-
:'total_pages' => :'
|
|
54
|
+
:'total' => :'Integer',
|
|
55
|
+
:'page' => :'Integer',
|
|
56
|
+
:'total_pages' => :'Integer'
|
|
57
57
|
}
|
|
58
58
|
end
|
|
59
59
|
|
|
@@ -242,13 +242,13 @@ module DaytonaApiClient
|
|
|
242
242
|
:'outbound_proxy_url' => :'String',
|
|
243
243
|
:'otel_endpoint_override' => :'String',
|
|
244
244
|
:'target' => :'String',
|
|
245
|
-
:'cpu' => :'
|
|
246
|
-
:'gpu' => :'
|
|
245
|
+
:'cpu' => :'Integer',
|
|
246
|
+
:'gpu' => :'Integer',
|
|
247
247
|
:'spot' => :'Boolean',
|
|
248
248
|
:'spot_evicted_at' => :'String',
|
|
249
249
|
:'gpu_type' => :'GpuType',
|
|
250
|
-
:'memory' => :'
|
|
251
|
-
:'disk' => :'
|
|
250
|
+
:'memory' => :'Integer',
|
|
251
|
+
:'disk' => :'Integer',
|
|
252
252
|
:'state' => :'SandboxState',
|
|
253
253
|
:'desired_state' => :'SandboxDesiredState',
|
|
254
254
|
:'error_reason' => :'String',
|
|
@@ -216,13 +216,13 @@ module DaytonaApiClient
|
|
|
216
216
|
:'network_block_all' => :'Boolean',
|
|
217
217
|
:'network_allow_list' => :'String',
|
|
218
218
|
:'domain_allow_list' => :'String',
|
|
219
|
-
:'cpu' => :'
|
|
220
|
-
:'gpu' => :'
|
|
219
|
+
:'cpu' => :'Integer',
|
|
220
|
+
:'gpu' => :'Integer',
|
|
221
221
|
:'spot' => :'Boolean',
|
|
222
222
|
:'spot_evicted_at' => :'String',
|
|
223
223
|
:'gpu_type' => :'GpuType',
|
|
224
|
-
:'memory' => :'
|
|
225
|
-
:'disk' => :'
|
|
224
|
+
:'memory' => :'Integer',
|
|
225
|
+
:'disk' => :'Integer',
|
|
226
226
|
:'labels' => :'Hash<String, String>',
|
|
227
227
|
:'backup_state' => :'String',
|
|
228
228
|
:'auto_stop_interval' => :'Float',
|