daytona_api_client 0.175.0 → 0.176.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/webhooks_api.rb +62 -0
- 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: 93a14bf03c7efe0a32acede7192758645a23a1b4a0c7e097307a1134a9e2a489
|
|
4
|
+
data.tar.gz: 13adbc77835ae630f5936442d627df71bab60b010b4f478ecb55781cd3550974
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a1be1d7ceee88ff92adb6e4a308a3c8c86a656d980ce7974617eed09a851c17f10d190ad59ddf438340a6a82d3beba7f2521e9082d11a46c12cc6e4f9c6a8045
|
|
7
|
+
data.tar.gz: 8f1dadbad87f775e9a7f06919c48040c68c4757d8412f59059d8a77ccfa52ce0d07ed83184fda08834c3d27b4451024811b074c42edd3aa3d42fcd76d2fff02f
|
|
@@ -146,5 +146,67 @@ module DaytonaApiClient
|
|
|
146
146
|
end
|
|
147
147
|
return data, status_code, headers
|
|
148
148
|
end
|
|
149
|
+
|
|
150
|
+
# Refresh cached endpoint presence flag for an organization
|
|
151
|
+
# @param organization_id [String]
|
|
152
|
+
# @param [Hash] opts the optional parameters
|
|
153
|
+
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
154
|
+
# @return [nil]
|
|
155
|
+
def webhook_controller_refresh_endpoints(organization_id, opts = {})
|
|
156
|
+
webhook_controller_refresh_endpoints_with_http_info(organization_id, opts)
|
|
157
|
+
nil
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
# Refresh cached endpoint presence flag for an organization
|
|
161
|
+
# @param organization_id [String]
|
|
162
|
+
# @param [Hash] opts the optional parameters
|
|
163
|
+
# @option opts [String] :x_daytona_organization_id Use with JWT to specify the organization ID
|
|
164
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
165
|
+
def webhook_controller_refresh_endpoints_with_http_info(organization_id, opts = {})
|
|
166
|
+
if @api_client.config.debugging
|
|
167
|
+
@api_client.config.logger.debug 'Calling API: WebhooksApi.webhook_controller_refresh_endpoints ...'
|
|
168
|
+
end
|
|
169
|
+
# verify the required parameter 'organization_id' is set
|
|
170
|
+
if @api_client.config.client_side_validation && organization_id.nil?
|
|
171
|
+
fail ArgumentError, "Missing the required parameter 'organization_id' when calling WebhooksApi.webhook_controller_refresh_endpoints"
|
|
172
|
+
end
|
|
173
|
+
# resource path
|
|
174
|
+
local_var_path = '/webhooks/organizations/{organizationId}/refresh-endpoints'.sub('{' + 'organizationId' + '}', CGI.escape(organization_id.to_s))
|
|
175
|
+
|
|
176
|
+
# query parameters
|
|
177
|
+
query_params = opts[:query_params] || {}
|
|
178
|
+
|
|
179
|
+
# header parameters
|
|
180
|
+
header_params = opts[:header_params] || {}
|
|
181
|
+
header_params[:'X-Daytona-Organization-ID'] = opts[:'x_daytona_organization_id'] if !opts[:'x_daytona_organization_id'].nil?
|
|
182
|
+
|
|
183
|
+
# form parameters
|
|
184
|
+
form_params = opts[:form_params] || {}
|
|
185
|
+
|
|
186
|
+
# http body (model)
|
|
187
|
+
post_body = opts[:debug_body]
|
|
188
|
+
|
|
189
|
+
# return_type
|
|
190
|
+
return_type = opts[:debug_return_type]
|
|
191
|
+
|
|
192
|
+
# auth_names
|
|
193
|
+
auth_names = opts[:debug_auth_names] || ['bearer', 'oauth2']
|
|
194
|
+
|
|
195
|
+
new_options = opts.merge(
|
|
196
|
+
:operation => :"WebhooksApi.webhook_controller_refresh_endpoints",
|
|
197
|
+
:header_params => header_params,
|
|
198
|
+
:query_params => query_params,
|
|
199
|
+
:form_params => form_params,
|
|
200
|
+
:body => post_body,
|
|
201
|
+
:auth_names => auth_names,
|
|
202
|
+
:return_type => return_type
|
|
203
|
+
)
|
|
204
|
+
|
|
205
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
206
|
+
if @api_client.config.debugging
|
|
207
|
+
@api_client.config.logger.debug "API called: WebhooksApi#webhook_controller_refresh_endpoints\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
208
|
+
end
|
|
209
|
+
return data, status_code, headers
|
|
210
|
+
end
|
|
149
211
|
end
|
|
150
212
|
end
|