spinnaker_gate_ruby_client 1.0.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.
Files changed (155) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +8 -0
  3. data/Gemfile.lock +85 -0
  4. data/LICENSE +201 -0
  5. data/README.md +240 -0
  6. data/Rakefile +8 -0
  7. data/docs/Account.md +14 -0
  8. data/docs/AccountDetails.md +19 -0
  9. data/docs/AmazonInfrastructureControllerApi.md +128 -0
  10. data/docs/ApplicationControllerApi.md +754 -0
  11. data/docs/ArtifactControllerApi.md +111 -0
  12. data/docs/AuthControllerApi.md +212 -0
  13. data/docs/BakeControllerApi.md +143 -0
  14. data/docs/BuildControllerApi.md +493 -0
  15. data/docs/ClusterControllerApi.md +475 -0
  16. data/docs/ConcourseControllerApi.md +161 -0
  17. data/docs/CredentialsControllerApi.md +129 -0
  18. data/docs/EcsServerGroupEventsControllerApi.md +66 -0
  19. data/docs/ExecutionsControllerApi.md +133 -0
  20. data/docs/FirewallControllerApi.md +171 -0
  21. data/docs/GrantedAuthority.md +8 -0
  22. data/docs/HashMapstringobject.md +7 -0
  23. data/docs/HttpEntity.md +8 -0
  24. data/docs/ImageControllerApi.md +178 -0
  25. data/docs/InstanceControllerApi.md +122 -0
  26. data/docs/JobControllerApi.md +69 -0
  27. data/docs/LoadBalancerControllerApi.md +217 -0
  28. data/docs/Mapstringstring.md +7 -0
  29. data/docs/NetworkControllerApi.md +105 -0
  30. data/docs/PipelineConfigControllerApi.md +144 -0
  31. data/docs/PipelineControllerApi.md +1074 -0
  32. data/docs/PipelineTemplateDependent.md +10 -0
  33. data/docs/PipelineTemplatesControllerApi.md +350 -0
  34. data/docs/ProjectControllerApi.md +196 -0
  35. data/docs/PubsubSubscriptionControllerApi.md +48 -0
  36. data/docs/ReorderPipelinesCommand.md +9 -0
  37. data/docs/ReorderPipelinesControllerApi.md +54 -0
  38. data/docs/ResponseEntity.md +10 -0
  39. data/docs/SearchControllerApi.md +68 -0
  40. data/docs/SecurityGroupControllerApi.md +171 -0
  41. data/docs/ServerGroupControllerApi.md +125 -0
  42. data/docs/ServerGroupManagerControllerApi.md +54 -0
  43. data/docs/SnapshotControllerApi.md +110 -0
  44. data/docs/SubnetControllerApi.md +58 -0
  45. data/docs/TaskControllerApi.md +291 -0
  46. data/docs/User.md +18 -0
  47. data/docs/V2CanaryConfigControllerApi.md +259 -0
  48. data/docs/V2CanaryControllerApi.md +356 -0
  49. data/docs/V2PipelineTemplatesControllerApi.md +356 -0
  50. data/docs/Version.md +8 -0
  51. data/docs/VersionControllerApi.md +48 -0
  52. data/docs/WebhookControllerApi.md +105 -0
  53. data/git_push.sh +55 -0
  54. data/lib/swagger_client.rb +85 -0
  55. data/lib/swagger_client/api/amazon_infrastructure_controller_api.rb +161 -0
  56. data/lib/swagger_client/api/application_controller_api.rb +868 -0
  57. data/lib/swagger_client/api/artifact_controller_api.rb +141 -0
  58. data/lib/swagger_client/api/auth_controller_api.rb +258 -0
  59. data/lib/swagger_client/api/bake_controller_api.rb +179 -0
  60. data/lib/swagger_client/api/build_controller_api.rb +588 -0
  61. data/lib/swagger_client/api/cluster_controller_api.rb +591 -0
  62. data/lib/swagger_client/api/concourse_controller_api.rb +209 -0
  63. data/lib/swagger_client/api/credentials_controller_api.rb +163 -0
  64. data/lib/swagger_client/api/ecs_server_group_events_controller_api.rb +101 -0
  65. data/lib/swagger_client/api/executions_controller_api.rb +169 -0
  66. data/lib/swagger_client/api/firewall_controller_api.rb +209 -0
  67. data/lib/swagger_client/api/image_controller_api.rb +222 -0
  68. data/lib/swagger_client/api/instance_controller_api.rb +160 -0
  69. data/lib/swagger_client/api/job_controller_api.rb +99 -0
  70. data/lib/swagger_client/api/load_balancer_controller_api.rb +258 -0
  71. data/lib/swagger_client/api/network_controller_api.rb +127 -0
  72. data/lib/swagger_client/api/pipeline_config_controller_api.rb +176 -0
  73. data/lib/swagger_client/api/pipeline_controller_api.rb +1268 -0
  74. data/lib/swagger_client/api/pipeline_templates_controller_api.rb +404 -0
  75. data/lib/swagger_client/api/project_controller_api.rb +234 -0
  76. data/lib/swagger_client/api/pubsub_subscription_controller_api.rb +69 -0
  77. data/lib/swagger_client/api/reorder_pipelines_controller_api.rb +75 -0
  78. data/lib/swagger_client/api/search_controller_api.rb +94 -0
  79. data/lib/swagger_client/api/security_group_controller_api.rb +209 -0
  80. data/lib/swagger_client/api/server_group_controller_api.rb +163 -0
  81. data/lib/swagger_client/api/server_group_manager_controller_api.rb +75 -0
  82. data/lib/swagger_client/api/snapshot_controller_api.rb +142 -0
  83. data/lib/swagger_client/api/subnet_controller_api.rb +78 -0
  84. data/lib/swagger_client/api/task_controller_api.rb +345 -0
  85. data/lib/swagger_client/api/v2_canary_config_controller_api.rb +300 -0
  86. data/lib/swagger_client/api/v2_canary_controller_api.rb +421 -0
  87. data/lib/swagger_client/api/v2_pipeline_templates_controller_api.rb +412 -0
  88. data/lib/swagger_client/api/version_controller_api.rb +69 -0
  89. data/lib/swagger_client/api/webhook_controller_api.rb +135 -0
  90. data/lib/swagger_client/api_client.rb +388 -0
  91. data/lib/swagger_client/api_error.rb +38 -0
  92. data/lib/swagger_client/configuration.rb +202 -0
  93. data/lib/swagger_client/models/account.rb +241 -0
  94. data/lib/swagger_client/models/account_details.rb +286 -0
  95. data/lib/swagger_client/models/granted_authority.rb +183 -0
  96. data/lib/swagger_client/models/hash_mapstringobject.rb +174 -0
  97. data/lib/swagger_client/models/http_entity.rb +183 -0
  98. data/lib/swagger_client/models/mapstringstring.rb +174 -0
  99. data/lib/swagger_client/models/pipeline_template_dependent.rb +201 -0
  100. data/lib/swagger_client/models/reorder_pipelines_command.rb +194 -0
  101. data/lib/swagger_client/models/response_entity.rb +235 -0
  102. data/lib/swagger_client/models/user.rb +279 -0
  103. data/lib/swagger_client/models/version.rb +183 -0
  104. data/lib/swagger_client/version.rb +15 -0
  105. data/spec/api/amazon_infrastructure_controller_api_spec.rb +65 -0
  106. data/spec/api/application_controller_api_spec.rb +218 -0
  107. data/spec/api/artifact_controller_api_spec.rb +60 -0
  108. data/spec/api/auth_controller_api_spec.rb +86 -0
  109. data/spec/api/bake_controller_api_spec.rb +68 -0
  110. data/spec/api/build_controller_api_spec.rb +155 -0
  111. data/spec/api/cluster_controller_api_spec.rb +155 -0
  112. data/spec/api/concourse_controller_api_spec.rb +73 -0
  113. data/spec/api/credentials_controller_api_spec.rb +70 -0
  114. data/spec/api/ecs_server_group_events_controller_api_spec.rb +50 -0
  115. data/spec/api/executions_controller_api_spec.rb +72 -0
  116. data/spec/api/firewall_controller_api_spec.rb +77 -0
  117. data/spec/api/image_controller_api_spec.rb +80 -0
  118. data/spec/api/instance_controller_api_spec.rb +64 -0
  119. data/spec/api/job_controller_api_spec.rb +51 -0
  120. data/spec/api/load_balancer_controller_api_spec.rb +87 -0
  121. data/spec/api/network_controller_api_spec.rb +58 -0
  122. data/spec/api/pipeline_config_controller_api_spec.rb +68 -0
  123. data/spec/api/pipeline_controller_api_spec.rb +296 -0
  124. data/spec/api/pipeline_templates_controller_api_spec.rb +118 -0
  125. data/spec/api/project_controller_api_spec.rb +81 -0
  126. data/spec/api/pubsub_subscription_controller_api_spec.rb +45 -0
  127. data/spec/api/reorder_pipelines_controller_api_spec.rb +46 -0
  128. data/spec/api/search_controller_api_spec.rb +52 -0
  129. data/spec/api/security_group_controller_api_spec.rb +77 -0
  130. data/spec/api/server_group_controller_api_spec.rb +66 -0
  131. data/spec/api/server_group_manager_controller_api_spec.rb +46 -0
  132. data/spec/api/snapshot_controller_api_spec.rb +60 -0
  133. data/spec/api/subnet_controller_api_spec.rb +47 -0
  134. data/spec/api/task_controller_api_spec.rb +103 -0
  135. data/spec/api/v2_canary_config_controller_api_spec.rb +96 -0
  136. data/spec/api/v2_canary_controller_api_spec.rb +123 -0
  137. data/spec/api/v2_pipeline_templates_controller_api_spec.rb +121 -0
  138. data/spec/api/version_controller_api_spec.rb +45 -0
  139. data/spec/api/webhook_controller_api_spec.rb +60 -0
  140. data/spec/api_client_spec.rb +226 -0
  141. data/spec/configuration_spec.rb +42 -0
  142. data/spec/models/account_details_spec.rb +107 -0
  143. data/spec/models/account_spec.rb +77 -0
  144. data/spec/models/granted_authority_spec.rb +41 -0
  145. data/spec/models/hash_mapstringobject_spec.rb +35 -0
  146. data/spec/models/http_entity_spec.rb +41 -0
  147. data/spec/models/mapstringstring_spec.rb +35 -0
  148. data/spec/models/pipeline_template_dependent_spec.rb +53 -0
  149. data/spec/models/reorder_pipelines_command_spec.rb +47 -0
  150. data/spec/models/response_entity_spec.rb +57 -0
  151. data/spec/models/user_spec.rb +101 -0
  152. data/spec/models/version_spec.rb +41 -0
  153. data/spec/spec_helper.rb +111 -0
  154. data/spinnaker_gate_ruby_client.gemspec +45 -0
  155. metadata +426 -0
@@ -0,0 +1,356 @@
1
+ # SwaggerClient::V2PipelineTemplatesControllerApi
2
+
3
+ All URIs are relative to *https://gate-spinnaker.devint.gcp.openx.org*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create_using_post1**](V2PipelineTemplatesControllerApi.md#create_using_post1) | **POST** /v2/pipelineTemplates/create | (ALPHA) Create a pipeline template.
8
+ [**delete_using_delete1**](V2PipelineTemplatesControllerApi.md#delete_using_delete1) | **DELETE** /v2/pipelineTemplates/{id} | Delete a pipeline template.
9
+ [**get_using_get2**](V2PipelineTemplatesControllerApi.md#get_using_get2) | **GET** /v2/pipelineTemplates/{id} | (ALPHA) Get a pipeline template.
10
+ [**list_pipeline_template_dependents_using_get1**](V2PipelineTemplatesControllerApi.md#list_pipeline_template_dependents_using_get1) | **GET** /v2/pipelineTemplates/{id}/dependents | (ALPHA) List all pipelines that implement a pipeline template
11
+ [**list_using_get1**](V2PipelineTemplatesControllerApi.md#list_using_get1) | **GET** /v2/pipelineTemplates | (ALPHA) List pipeline templates.
12
+ [**plan_using_post**](V2PipelineTemplatesControllerApi.md#plan_using_post) | **POST** /v2/pipelineTemplates/plan | (ALPHA) Plan a pipeline template configuration.
13
+ [**update_using_post1**](V2PipelineTemplatesControllerApi.md#update_using_post1) | **POST** /v2/pipelineTemplates/update/{id} | (ALPHA) Update a pipeline template.
14
+
15
+
16
+ # **create_using_post1**
17
+ > create_using_post1(pipeline_template, opts)
18
+
19
+ (ALPHA) Create a pipeline template.
20
+
21
+ ### Example
22
+ ```ruby
23
+ # load the gem
24
+ require 'swagger_client'
25
+
26
+ api_instance = SwaggerClient::V2PipelineTemplatesControllerApi.new
27
+
28
+ pipeline_template = nil # Object | pipelineTemplate
29
+
30
+ opts = {
31
+ tag: 'tag_example' # String | tag
32
+ }
33
+
34
+ begin
35
+ #(ALPHA) Create a pipeline template.
36
+ api_instance.create_using_post1(pipeline_template, opts)
37
+ rescue SwaggerClient::ApiError => e
38
+ puts "Exception when calling V2PipelineTemplatesControllerApi->create_using_post1: #{e}"
39
+ end
40
+ ```
41
+
42
+ ### Parameters
43
+
44
+ Name | Type | Description | Notes
45
+ ------------- | ------------- | ------------- | -------------
46
+ **pipeline_template** | **Object**| pipelineTemplate |
47
+ **tag** | **String**| tag | [optional]
48
+
49
+ ### Return type
50
+
51
+ nil (empty response body)
52
+
53
+ ### Authorization
54
+
55
+ No authorization required
56
+
57
+ ### HTTP request headers
58
+
59
+ - **Content-Type**: application/json
60
+ - **Accept**: */*
61
+
62
+
63
+
64
+ # **delete_using_delete1**
65
+ > Hash<String, Object> delete_using_delete1(id, opts)
66
+
67
+ Delete a pipeline template.
68
+
69
+ ### Example
70
+ ```ruby
71
+ # load the gem
72
+ require 'swagger_client'
73
+
74
+ api_instance = SwaggerClient::V2PipelineTemplatesControllerApi.new
75
+
76
+ id = 'id_example' # String | id
77
+
78
+ opts = {
79
+ tag: 'tag_example', # String | tag
80
+ digest: 'digest_example', # String | digest
81
+ application: 'application_example' # String | application
82
+ }
83
+
84
+ begin
85
+ #Delete a pipeline template.
86
+ result = api_instance.delete_using_delete1(id, opts)
87
+ p result
88
+ rescue SwaggerClient::ApiError => e
89
+ puts "Exception when calling V2PipelineTemplatesControllerApi->delete_using_delete1: #{e}"
90
+ end
91
+ ```
92
+
93
+ ### Parameters
94
+
95
+ Name | Type | Description | Notes
96
+ ------------- | ------------- | ------------- | -------------
97
+ **id** | **String**| id |
98
+ **tag** | **String**| tag | [optional]
99
+ **digest** | **String**| digest | [optional]
100
+ **application** | **String**| application | [optional]
101
+
102
+ ### Return type
103
+
104
+ **Hash<String, Object>**
105
+
106
+ ### Authorization
107
+
108
+ No authorization required
109
+
110
+ ### HTTP request headers
111
+
112
+ - **Content-Type**: application/json
113
+ - **Accept**: */*
114
+
115
+
116
+
117
+ # **get_using_get2**
118
+ > Hash<String, Object> get_using_get2(id, opts)
119
+
120
+ (ALPHA) Get a pipeline template.
121
+
122
+ ### Example
123
+ ```ruby
124
+ # load the gem
125
+ require 'swagger_client'
126
+
127
+ api_instance = SwaggerClient::V2PipelineTemplatesControllerApi.new
128
+
129
+ id = 'id_example' # String | id
130
+
131
+ opts = {
132
+ tag: 'tag_example', # String | tag
133
+ digest: 'digest_example' # String | digest
134
+ }
135
+
136
+ begin
137
+ #(ALPHA) Get a pipeline template.
138
+ result = api_instance.get_using_get2(id, opts)
139
+ p result
140
+ rescue SwaggerClient::ApiError => e
141
+ puts "Exception when calling V2PipelineTemplatesControllerApi->get_using_get2: #{e}"
142
+ end
143
+ ```
144
+
145
+ ### Parameters
146
+
147
+ Name | Type | Description | Notes
148
+ ------------- | ------------- | ------------- | -------------
149
+ **id** | **String**| id |
150
+ **tag** | **String**| tag | [optional]
151
+ **digest** | **String**| digest | [optional]
152
+
153
+ ### Return type
154
+
155
+ **Hash<String, Object>**
156
+
157
+ ### Authorization
158
+
159
+ No authorization required
160
+
161
+ ### HTTP request headers
162
+
163
+ - **Content-Type**: application/json
164
+ - **Accept**: */*
165
+
166
+
167
+
168
+ # **list_pipeline_template_dependents_using_get1**
169
+ > Array<Object> list_pipeline_template_dependents_using_get1(id)
170
+
171
+ (ALPHA) List all pipelines that implement a pipeline template
172
+
173
+ ### Example
174
+ ```ruby
175
+ # load the gem
176
+ require 'swagger_client'
177
+
178
+ api_instance = SwaggerClient::V2PipelineTemplatesControllerApi.new
179
+
180
+ id = 'id_example' # String | id
181
+
182
+
183
+ begin
184
+ #(ALPHA) List all pipelines that implement a pipeline template
185
+ result = api_instance.list_pipeline_template_dependents_using_get1(id)
186
+ p result
187
+ rescue SwaggerClient::ApiError => e
188
+ puts "Exception when calling V2PipelineTemplatesControllerApi->list_pipeline_template_dependents_using_get1: #{e}"
189
+ end
190
+ ```
191
+
192
+ ### Parameters
193
+
194
+ Name | Type | Description | Notes
195
+ ------------- | ------------- | ------------- | -------------
196
+ **id** | **String**| id |
197
+
198
+ ### Return type
199
+
200
+ **Array<Object>**
201
+
202
+ ### Authorization
203
+
204
+ No authorization required
205
+
206
+ ### HTTP request headers
207
+
208
+ - **Content-Type**: application/json
209
+ - **Accept**: */*
210
+
211
+
212
+
213
+ # **list_using_get1**
214
+ > Array<Object> list_using_get1(opts)
215
+
216
+ (ALPHA) List pipeline templates.
217
+
218
+ ### Example
219
+ ```ruby
220
+ # load the gem
221
+ require 'swagger_client'
222
+
223
+ api_instance = SwaggerClient::V2PipelineTemplatesControllerApi.new
224
+
225
+ opts = {
226
+ scopes: ['scopes_example'] # Array<String> | scopes
227
+ }
228
+
229
+ begin
230
+ #(ALPHA) List pipeline templates.
231
+ result = api_instance.list_using_get1(opts)
232
+ p result
233
+ rescue SwaggerClient::ApiError => e
234
+ puts "Exception when calling V2PipelineTemplatesControllerApi->list_using_get1: #{e}"
235
+ end
236
+ ```
237
+
238
+ ### Parameters
239
+
240
+ Name | Type | Description | Notes
241
+ ------------- | ------------- | ------------- | -------------
242
+ **scopes** | [**Array&lt;String&gt;**](String.md)| scopes | [optional]
243
+
244
+ ### Return type
245
+
246
+ **Array&lt;Object&gt;**
247
+
248
+ ### Authorization
249
+
250
+ No authorization required
251
+
252
+ ### HTTP request headers
253
+
254
+ - **Content-Type**: application/json
255
+ - **Accept**: */*
256
+
257
+
258
+
259
+ # **plan_using_post**
260
+ > Hash&lt;String, Object&gt; plan_using_post(pipeline)
261
+
262
+ (ALPHA) Plan a pipeline template configuration.
263
+
264
+ ### Example
265
+ ```ruby
266
+ # load the gem
267
+ require 'swagger_client'
268
+
269
+ api_instance = SwaggerClient::V2PipelineTemplatesControllerApi.new
270
+
271
+ pipeline = nil # Object | pipeline
272
+
273
+
274
+ begin
275
+ #(ALPHA) Plan a pipeline template configuration.
276
+ result = api_instance.plan_using_post(pipeline)
277
+ p result
278
+ rescue SwaggerClient::ApiError => e
279
+ puts "Exception when calling V2PipelineTemplatesControllerApi->plan_using_post: #{e}"
280
+ end
281
+ ```
282
+
283
+ ### Parameters
284
+
285
+ Name | Type | Description | Notes
286
+ ------------- | ------------- | ------------- | -------------
287
+ **pipeline** | **Object**| pipeline |
288
+
289
+ ### Return type
290
+
291
+ **Hash&lt;String, Object&gt;**
292
+
293
+ ### Authorization
294
+
295
+ No authorization required
296
+
297
+ ### HTTP request headers
298
+
299
+ - **Content-Type**: application/json
300
+ - **Accept**: */*
301
+
302
+
303
+
304
+ # **update_using_post1**
305
+ > update_using_post1(id, pipeline_template, opts)
306
+
307
+ (ALPHA) Update a pipeline template.
308
+
309
+ ### Example
310
+ ```ruby
311
+ # load the gem
312
+ require 'swagger_client'
313
+
314
+ api_instance = SwaggerClient::V2PipelineTemplatesControllerApi.new
315
+
316
+ id = 'id_example' # String | id
317
+
318
+ pipeline_template = nil # Object | pipelineTemplate
319
+
320
+ opts = {
321
+ tag: 'tag_example', # String | tag
322
+ skip_plan_dependents: false # BOOLEAN | skipPlanDependents
323
+ }
324
+
325
+ begin
326
+ #(ALPHA) Update a pipeline template.
327
+ api_instance.update_using_post1(id, pipeline_template, opts)
328
+ rescue SwaggerClient::ApiError => e
329
+ puts "Exception when calling V2PipelineTemplatesControllerApi->update_using_post1: #{e}"
330
+ end
331
+ ```
332
+
333
+ ### Parameters
334
+
335
+ Name | Type | Description | Notes
336
+ ------------- | ------------- | ------------- | -------------
337
+ **id** | **String**| id |
338
+ **pipeline_template** | **Object**| pipelineTemplate |
339
+ **tag** | **String**| tag | [optional]
340
+ **skip_plan_dependents** | **BOOLEAN**| skipPlanDependents | [optional] [default to false]
341
+
342
+ ### Return type
343
+
344
+ nil (empty response body)
345
+
346
+ ### Authorization
347
+
348
+ No authorization required
349
+
350
+ ### HTTP request headers
351
+
352
+ - **Content-Type**: application/json
353
+ - **Accept**: */*
354
+
355
+
356
+
@@ -0,0 +1,8 @@
1
+ # SwaggerClient::Version
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **version** | **String** | | [optional]
7
+
8
+
@@ -0,0 +1,48 @@
1
+ # SwaggerClient::VersionControllerApi
2
+
3
+ All URIs are relative to *https://gate-spinnaker.devint.gcp.openx.org*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**get_version_using_get**](VersionControllerApi.md#get_version_using_get) | **GET** /version | Fetch Gate&#39;s current version
8
+
9
+
10
+ # **get_version_using_get**
11
+ > Version get_version_using_get
12
+
13
+ Fetch Gate's current version
14
+
15
+ ### Example
16
+ ```ruby
17
+ # load the gem
18
+ require 'swagger_client'
19
+
20
+ api_instance = SwaggerClient::VersionControllerApi.new
21
+
22
+ begin
23
+ #Fetch Gate's current version
24
+ result = api_instance.get_version_using_get
25
+ p result
26
+ rescue SwaggerClient::ApiError => e
27
+ puts "Exception when calling VersionControllerApi->get_version_using_get: #{e}"
28
+ end
29
+ ```
30
+
31
+ ### Parameters
32
+ This endpoint does not need any parameter.
33
+
34
+ ### Return type
35
+
36
+ [**Version**](Version.md)
37
+
38
+ ### Authorization
39
+
40
+ No authorization required
41
+
42
+ ### HTTP request headers
43
+
44
+ - **Content-Type**: application/json
45
+ - **Accept**: */*
46
+
47
+
48
+
@@ -0,0 +1,105 @@
1
+ # SwaggerClient::WebhookControllerApi
2
+
3
+ All URIs are relative to *https://gate-spinnaker.devint.gcp.openx.org*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**preconfigured_webhooks_using_get**](WebhookControllerApi.md#preconfigured_webhooks_using_get) | **GET** /webhooks/preconfigured | Retrieve a list of preconfigured webhooks in Orca
8
+ [**webhooks_using_post**](WebhookControllerApi.md#webhooks_using_post) | **POST** /webhooks/{type}/{source} | Endpoint for posting webhooks to Spinnaker&#39;s webhook service
9
+
10
+
11
+ # **preconfigured_webhooks_using_get**
12
+ > Array&lt;Object&gt; preconfigured_webhooks_using_get
13
+
14
+ Retrieve a list of preconfigured webhooks in Orca
15
+
16
+ ### Example
17
+ ```ruby
18
+ # load the gem
19
+ require 'swagger_client'
20
+
21
+ api_instance = SwaggerClient::WebhookControllerApi.new
22
+
23
+ begin
24
+ #Retrieve a list of preconfigured webhooks in Orca
25
+ result = api_instance.preconfigured_webhooks_using_get
26
+ p result
27
+ rescue SwaggerClient::ApiError => e
28
+ puts "Exception when calling WebhookControllerApi->preconfigured_webhooks_using_get: #{e}"
29
+ end
30
+ ```
31
+
32
+ ### Parameters
33
+ This endpoint does not need any parameter.
34
+
35
+ ### Return type
36
+
37
+ **Array&lt;Object&gt;**
38
+
39
+ ### Authorization
40
+
41
+ No authorization required
42
+
43
+ ### HTTP request headers
44
+
45
+ - **Content-Type**: application/json
46
+ - **Accept**: */*
47
+
48
+
49
+
50
+ # **webhooks_using_post**
51
+ > Object webhooks_using_post(type, source, opts)
52
+
53
+ Endpoint for posting webhooks to Spinnaker's webhook service
54
+
55
+ ### Example
56
+ ```ruby
57
+ # load the gem
58
+ require 'swagger_client'
59
+
60
+ api_instance = SwaggerClient::WebhookControllerApi.new
61
+
62
+ type = 'type_example' # String | type
63
+
64
+ source = 'source_example' # String | source
65
+
66
+ opts = {
67
+ event: nil, # Object | event
68
+ x_hub_signature: 'x_hub_signature_example', # String | X-Hub-Signature
69
+ x_event_key: 'x_event_key_example' # String | X-Event-Key
70
+ }
71
+
72
+ begin
73
+ #Endpoint for posting webhooks to Spinnaker's webhook service
74
+ result = api_instance.webhooks_using_post(type, source, opts)
75
+ p result
76
+ rescue SwaggerClient::ApiError => e
77
+ puts "Exception when calling WebhookControllerApi->webhooks_using_post: #{e}"
78
+ end
79
+ ```
80
+
81
+ ### Parameters
82
+
83
+ Name | Type | Description | Notes
84
+ ------------- | ------------- | ------------- | -------------
85
+ **type** | **String**| type |
86
+ **source** | **String**| source |
87
+ **event** | **Object**| event | [optional]
88
+ **x_hub_signature** | **String**| X-Hub-Signature | [optional]
89
+ **x_event_key** | **String**| X-Event-Key | [optional]
90
+
91
+ ### Return type
92
+
93
+ **Object**
94
+
95
+ ### Authorization
96
+
97
+ No authorization required
98
+
99
+ ### HTTP request headers
100
+
101
+ - **Content-Type**: application/json
102
+ - **Accept**: */*
103
+
104
+
105
+