spinnaker-gate-ruby-client 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +85 -0
- data/LICENSE +201 -0
- data/README.md +240 -0
- data/Rakefile +8 -0
- data/docs/Account.md +14 -0
- data/docs/AccountDetails.md +19 -0
- data/docs/AmazonInfrastructureControllerApi.md +128 -0
- data/docs/ApplicationControllerApi.md +754 -0
- data/docs/ArtifactControllerApi.md +111 -0
- data/docs/AuthControllerApi.md +212 -0
- data/docs/BakeControllerApi.md +143 -0
- data/docs/BuildControllerApi.md +493 -0
- data/docs/ClusterControllerApi.md +475 -0
- data/docs/ConcourseControllerApi.md +161 -0
- data/docs/CredentialsControllerApi.md +129 -0
- data/docs/EcsServerGroupEventsControllerApi.md +66 -0
- data/docs/ExecutionsControllerApi.md +133 -0
- data/docs/FirewallControllerApi.md +171 -0
- data/docs/GrantedAuthority.md +8 -0
- data/docs/HashMapstringobject.md +7 -0
- data/docs/HttpEntity.md +8 -0
- data/docs/ImageControllerApi.md +178 -0
- data/docs/InstanceControllerApi.md +122 -0
- data/docs/JobControllerApi.md +69 -0
- data/docs/LoadBalancerControllerApi.md +217 -0
- data/docs/Mapstringstring.md +7 -0
- data/docs/NetworkControllerApi.md +105 -0
- data/docs/PipelineConfigControllerApi.md +144 -0
- data/docs/PipelineControllerApi.md +1074 -0
- data/docs/PipelineTemplateDependent.md +10 -0
- data/docs/PipelineTemplatesControllerApi.md +350 -0
- data/docs/ProjectControllerApi.md +196 -0
- data/docs/PubsubSubscriptionControllerApi.md +48 -0
- data/docs/ReorderPipelinesCommand.md +9 -0
- data/docs/ReorderPipelinesControllerApi.md +54 -0
- data/docs/ResponseEntity.md +10 -0
- data/docs/SearchControllerApi.md +68 -0
- data/docs/SecurityGroupControllerApi.md +171 -0
- data/docs/ServerGroupControllerApi.md +125 -0
- data/docs/ServerGroupManagerControllerApi.md +54 -0
- data/docs/SnapshotControllerApi.md +110 -0
- data/docs/SubnetControllerApi.md +58 -0
- data/docs/TaskControllerApi.md +291 -0
- data/docs/User.md +18 -0
- data/docs/V2CanaryConfigControllerApi.md +259 -0
- data/docs/V2CanaryControllerApi.md +356 -0
- data/docs/V2PipelineTemplatesControllerApi.md +356 -0
- data/docs/Version.md +8 -0
- data/docs/VersionControllerApi.md +48 -0
- data/docs/WebhookControllerApi.md +105 -0
- data/git_push.sh +55 -0
- data/lib/swagger_client.rb +85 -0
- data/lib/swagger_client/api/amazon_infrastructure_controller_api.rb +161 -0
- data/lib/swagger_client/api/application_controller_api.rb +868 -0
- data/lib/swagger_client/api/artifact_controller_api.rb +141 -0
- data/lib/swagger_client/api/auth_controller_api.rb +258 -0
- data/lib/swagger_client/api/bake_controller_api.rb +179 -0
- data/lib/swagger_client/api/build_controller_api.rb +588 -0
- data/lib/swagger_client/api/cluster_controller_api.rb +591 -0
- data/lib/swagger_client/api/concourse_controller_api.rb +209 -0
- data/lib/swagger_client/api/credentials_controller_api.rb +163 -0
- data/lib/swagger_client/api/ecs_server_group_events_controller_api.rb +101 -0
- data/lib/swagger_client/api/executions_controller_api.rb +169 -0
- data/lib/swagger_client/api/firewall_controller_api.rb +209 -0
- data/lib/swagger_client/api/image_controller_api.rb +222 -0
- data/lib/swagger_client/api/instance_controller_api.rb +160 -0
- data/lib/swagger_client/api/job_controller_api.rb +99 -0
- data/lib/swagger_client/api/load_balancer_controller_api.rb +258 -0
- data/lib/swagger_client/api/network_controller_api.rb +127 -0
- data/lib/swagger_client/api/pipeline_config_controller_api.rb +176 -0
- data/lib/swagger_client/api/pipeline_controller_api.rb +1268 -0
- data/lib/swagger_client/api/pipeline_templates_controller_api.rb +404 -0
- data/lib/swagger_client/api/project_controller_api.rb +234 -0
- data/lib/swagger_client/api/pubsub_subscription_controller_api.rb +69 -0
- data/lib/swagger_client/api/reorder_pipelines_controller_api.rb +75 -0
- data/lib/swagger_client/api/search_controller_api.rb +94 -0
- data/lib/swagger_client/api/security_group_controller_api.rb +209 -0
- data/lib/swagger_client/api/server_group_controller_api.rb +163 -0
- data/lib/swagger_client/api/server_group_manager_controller_api.rb +75 -0
- data/lib/swagger_client/api/snapshot_controller_api.rb +142 -0
- data/lib/swagger_client/api/subnet_controller_api.rb +78 -0
- data/lib/swagger_client/api/task_controller_api.rb +345 -0
- data/lib/swagger_client/api/v2_canary_config_controller_api.rb +300 -0
- data/lib/swagger_client/api/v2_canary_controller_api.rb +421 -0
- data/lib/swagger_client/api/v2_pipeline_templates_controller_api.rb +412 -0
- data/lib/swagger_client/api/version_controller_api.rb +69 -0
- data/lib/swagger_client/api/webhook_controller_api.rb +135 -0
- data/lib/swagger_client/api_client.rb +388 -0
- data/lib/swagger_client/api_error.rb +38 -0
- data/lib/swagger_client/configuration.rb +202 -0
- data/lib/swagger_client/models/account.rb +241 -0
- data/lib/swagger_client/models/account_details.rb +286 -0
- data/lib/swagger_client/models/granted_authority.rb +183 -0
- data/lib/swagger_client/models/hash_mapstringobject.rb +174 -0
- data/lib/swagger_client/models/http_entity.rb +183 -0
- data/lib/swagger_client/models/mapstringstring.rb +174 -0
- data/lib/swagger_client/models/pipeline_template_dependent.rb +201 -0
- data/lib/swagger_client/models/reorder_pipelines_command.rb +194 -0
- data/lib/swagger_client/models/response_entity.rb +235 -0
- data/lib/swagger_client/models/user.rb +279 -0
- data/lib/swagger_client/models/version.rb +183 -0
- data/lib/swagger_client/version.rb +15 -0
- data/spec/api/amazon_infrastructure_controller_api_spec.rb +65 -0
- data/spec/api/application_controller_api_spec.rb +218 -0
- data/spec/api/artifact_controller_api_spec.rb +60 -0
- data/spec/api/auth_controller_api_spec.rb +86 -0
- data/spec/api/bake_controller_api_spec.rb +68 -0
- data/spec/api/build_controller_api_spec.rb +155 -0
- data/spec/api/cluster_controller_api_spec.rb +155 -0
- data/spec/api/concourse_controller_api_spec.rb +73 -0
- data/spec/api/credentials_controller_api_spec.rb +70 -0
- data/spec/api/ecs_server_group_events_controller_api_spec.rb +50 -0
- data/spec/api/executions_controller_api_spec.rb +72 -0
- data/spec/api/firewall_controller_api_spec.rb +77 -0
- data/spec/api/image_controller_api_spec.rb +80 -0
- data/spec/api/instance_controller_api_spec.rb +64 -0
- data/spec/api/job_controller_api_spec.rb +51 -0
- data/spec/api/load_balancer_controller_api_spec.rb +87 -0
- data/spec/api/network_controller_api_spec.rb +58 -0
- data/spec/api/pipeline_config_controller_api_spec.rb +68 -0
- data/spec/api/pipeline_controller_api_spec.rb +296 -0
- data/spec/api/pipeline_templates_controller_api_spec.rb +118 -0
- data/spec/api/project_controller_api_spec.rb +81 -0
- data/spec/api/pubsub_subscription_controller_api_spec.rb +45 -0
- data/spec/api/reorder_pipelines_controller_api_spec.rb +46 -0
- data/spec/api/search_controller_api_spec.rb +52 -0
- data/spec/api/security_group_controller_api_spec.rb +77 -0
- data/spec/api/server_group_controller_api_spec.rb +66 -0
- data/spec/api/server_group_manager_controller_api_spec.rb +46 -0
- data/spec/api/snapshot_controller_api_spec.rb +60 -0
- data/spec/api/subnet_controller_api_spec.rb +47 -0
- data/spec/api/task_controller_api_spec.rb +103 -0
- data/spec/api/v2_canary_config_controller_api_spec.rb +96 -0
- data/spec/api/v2_canary_controller_api_spec.rb +123 -0
- data/spec/api/v2_pipeline_templates_controller_api_spec.rb +121 -0
- data/spec/api/version_controller_api_spec.rb +45 -0
- data/spec/api/webhook_controller_api_spec.rb +60 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/account_details_spec.rb +107 -0
- data/spec/models/account_spec.rb +77 -0
- data/spec/models/granted_authority_spec.rb +41 -0
- data/spec/models/hash_mapstringobject_spec.rb +35 -0
- data/spec/models/http_entity_spec.rb +41 -0
- data/spec/models/mapstringstring_spec.rb +35 -0
- data/spec/models/pipeline_template_dependent_spec.rb +53 -0
- data/spec/models/reorder_pipelines_command_spec.rb +47 -0
- data/spec/models/response_entity_spec.rb +57 -0
- data/spec/models/user_spec.rb +101 -0
- data/spec/models/version_spec.rb +41 -0
- data/spec/spec_helper.rb +111 -0
- data/spinnaker_gate_ruby_client-1.0.0.gem +0 -0
- data/spinnaker_gate_ruby_client.gemspec +45 -0
- metadata +427 -0
@@ -0,0 +1,493 @@
|
|
1
|
+
# SwaggerClient::BuildControllerApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://gate-spinnaker.devint.gcp.openx.org*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**get_build_masters_using_get**](BuildControllerApi.md#get_build_masters_using_get) | **GET** /v2/builds | Get build masters
|
8
|
+
[**get_build_using_get**](BuildControllerApi.md#get_build_using_get) | **GET** /v2/builds/{buildMaster}/build/{number}/** | Get build for build master
|
9
|
+
[**get_builds_using_get**](BuildControllerApi.md#get_builds_using_get) | **GET** /v2/builds/{buildMaster}/builds/** | Get builds for build master
|
10
|
+
[**get_job_config_using_get**](BuildControllerApi.md#get_job_config_using_get) | **GET** /v2/builds/{buildMaster}/jobs/** | Get job config
|
11
|
+
[**get_jobs_for_build_master_using_get**](BuildControllerApi.md#get_jobs_for_build_master_using_get) | **GET** /v2/builds/{buildMaster}/jobs | Get jobs for build master
|
12
|
+
[**v3_get_build_masters_using_get**](BuildControllerApi.md#v3_get_build_masters_using_get) | **GET** /v3/builds | Get build masters
|
13
|
+
[**v3_get_build_using_get**](BuildControllerApi.md#v3_get_build_using_get) | **GET** /v3/builds/{buildMaster}/build/{number} | Get build for build master
|
14
|
+
[**v3_get_builds_using_get**](BuildControllerApi.md#v3_get_builds_using_get) | **GET** /v3/builds/{buildMaster}/builds | Get builds for build master
|
15
|
+
[**v3_get_job_config_using_get**](BuildControllerApi.md#v3_get_job_config_using_get) | **GET** /v3/builds/{buildMaster}/job | Get job config
|
16
|
+
[**v3_get_jobs_for_build_master_using_get**](BuildControllerApi.md#v3_get_jobs_for_build_master_using_get) | **GET** /v3/builds/{buildMaster}/jobs | Get jobs for build master
|
17
|
+
|
18
|
+
|
19
|
+
# **get_build_masters_using_get**
|
20
|
+
> Array<Object> get_build_masters_using_get(type)
|
21
|
+
|
22
|
+
Get build masters
|
23
|
+
|
24
|
+
Deprecated, use the v3 endpoint instead
|
25
|
+
|
26
|
+
### Example
|
27
|
+
```ruby
|
28
|
+
# load the gem
|
29
|
+
require 'swagger_client'
|
30
|
+
|
31
|
+
api_instance = SwaggerClient::BuildControllerApi.new
|
32
|
+
|
33
|
+
type = 'type_example' # String | type
|
34
|
+
|
35
|
+
|
36
|
+
begin
|
37
|
+
#Get build masters
|
38
|
+
result = api_instance.get_build_masters_using_get(type)
|
39
|
+
p result
|
40
|
+
rescue SwaggerClient::ApiError => e
|
41
|
+
puts "Exception when calling BuildControllerApi->get_build_masters_using_get: #{e}"
|
42
|
+
end
|
43
|
+
```
|
44
|
+
|
45
|
+
### Parameters
|
46
|
+
|
47
|
+
Name | Type | Description | Notes
|
48
|
+
------------- | ------------- | ------------- | -------------
|
49
|
+
**type** | **String**| type |
|
50
|
+
|
51
|
+
### Return type
|
52
|
+
|
53
|
+
**Array<Object>**
|
54
|
+
|
55
|
+
### Authorization
|
56
|
+
|
57
|
+
No authorization required
|
58
|
+
|
59
|
+
### HTTP request headers
|
60
|
+
|
61
|
+
- **Content-Type**: application/json
|
62
|
+
- **Accept**: */*
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
# **get_build_using_get**
|
67
|
+
> Hash<String, Object> get_build_using_get(build_master, number)
|
68
|
+
|
69
|
+
Get build for build master
|
70
|
+
|
71
|
+
Deprecated, use the v3 endpoint instead
|
72
|
+
|
73
|
+
### Example
|
74
|
+
```ruby
|
75
|
+
# load the gem
|
76
|
+
require 'swagger_client'
|
77
|
+
|
78
|
+
api_instance = SwaggerClient::BuildControllerApi.new
|
79
|
+
|
80
|
+
build_master = 'build_master_example' # String | buildMaster
|
81
|
+
|
82
|
+
number = 'number_example' # String | number
|
83
|
+
|
84
|
+
|
85
|
+
begin
|
86
|
+
#Get build for build master
|
87
|
+
result = api_instance.get_build_using_get(build_master, number)
|
88
|
+
p result
|
89
|
+
rescue SwaggerClient::ApiError => e
|
90
|
+
puts "Exception when calling BuildControllerApi->get_build_using_get: #{e}"
|
91
|
+
end
|
92
|
+
```
|
93
|
+
|
94
|
+
### Parameters
|
95
|
+
|
96
|
+
Name | Type | Description | Notes
|
97
|
+
------------- | ------------- | ------------- | -------------
|
98
|
+
**build_master** | **String**| buildMaster |
|
99
|
+
**number** | **String**| number |
|
100
|
+
|
101
|
+
### Return type
|
102
|
+
|
103
|
+
**Hash<String, Object>**
|
104
|
+
|
105
|
+
### Authorization
|
106
|
+
|
107
|
+
No authorization required
|
108
|
+
|
109
|
+
### HTTP request headers
|
110
|
+
|
111
|
+
- **Content-Type**: application/json
|
112
|
+
- **Accept**: */*
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
# **get_builds_using_get**
|
117
|
+
> Array<Object> get_builds_using_get(build_master)
|
118
|
+
|
119
|
+
Get builds for build master
|
120
|
+
|
121
|
+
Deprecated, use the v3 endpoint instead
|
122
|
+
|
123
|
+
### Example
|
124
|
+
```ruby
|
125
|
+
# load the gem
|
126
|
+
require 'swagger_client'
|
127
|
+
|
128
|
+
api_instance = SwaggerClient::BuildControllerApi.new
|
129
|
+
|
130
|
+
build_master = 'build_master_example' # String | buildMaster
|
131
|
+
|
132
|
+
|
133
|
+
begin
|
134
|
+
#Get builds for build master
|
135
|
+
result = api_instance.get_builds_using_get(build_master)
|
136
|
+
p result
|
137
|
+
rescue SwaggerClient::ApiError => e
|
138
|
+
puts "Exception when calling BuildControllerApi->get_builds_using_get: #{e}"
|
139
|
+
end
|
140
|
+
```
|
141
|
+
|
142
|
+
### Parameters
|
143
|
+
|
144
|
+
Name | Type | Description | Notes
|
145
|
+
------------- | ------------- | ------------- | -------------
|
146
|
+
**build_master** | **String**| buildMaster |
|
147
|
+
|
148
|
+
### Return type
|
149
|
+
|
150
|
+
**Array<Object>**
|
151
|
+
|
152
|
+
### Authorization
|
153
|
+
|
154
|
+
No authorization required
|
155
|
+
|
156
|
+
### HTTP request headers
|
157
|
+
|
158
|
+
- **Content-Type**: application/json
|
159
|
+
- **Accept**: */*
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
# **get_job_config_using_get**
|
164
|
+
> Hash<String, Object> get_job_config_using_get(build_master)
|
165
|
+
|
166
|
+
Get job config
|
167
|
+
|
168
|
+
Deprecated, use the v3 endpoint instead
|
169
|
+
|
170
|
+
### Example
|
171
|
+
```ruby
|
172
|
+
# load the gem
|
173
|
+
require 'swagger_client'
|
174
|
+
|
175
|
+
api_instance = SwaggerClient::BuildControllerApi.new
|
176
|
+
|
177
|
+
build_master = 'build_master_example' # String | buildMaster
|
178
|
+
|
179
|
+
|
180
|
+
begin
|
181
|
+
#Get job config
|
182
|
+
result = api_instance.get_job_config_using_get(build_master)
|
183
|
+
p result
|
184
|
+
rescue SwaggerClient::ApiError => e
|
185
|
+
puts "Exception when calling BuildControllerApi->get_job_config_using_get: #{e}"
|
186
|
+
end
|
187
|
+
```
|
188
|
+
|
189
|
+
### Parameters
|
190
|
+
|
191
|
+
Name | Type | Description | Notes
|
192
|
+
------------- | ------------- | ------------- | -------------
|
193
|
+
**build_master** | **String**| buildMaster |
|
194
|
+
|
195
|
+
### Return type
|
196
|
+
|
197
|
+
**Hash<String, Object>**
|
198
|
+
|
199
|
+
### Authorization
|
200
|
+
|
201
|
+
No authorization required
|
202
|
+
|
203
|
+
### HTTP request headers
|
204
|
+
|
205
|
+
- **Content-Type**: application/json
|
206
|
+
- **Accept**: */*
|
207
|
+
|
208
|
+
|
209
|
+
|
210
|
+
# **get_jobs_for_build_master_using_get**
|
211
|
+
> Array<Object> get_jobs_for_build_master_using_get(build_master)
|
212
|
+
|
213
|
+
Get jobs for build master
|
214
|
+
|
215
|
+
Deprecated, use the v3 endpoint instead
|
216
|
+
|
217
|
+
### Example
|
218
|
+
```ruby
|
219
|
+
# load the gem
|
220
|
+
require 'swagger_client'
|
221
|
+
|
222
|
+
api_instance = SwaggerClient::BuildControllerApi.new
|
223
|
+
|
224
|
+
build_master = 'build_master_example' # String | buildMaster
|
225
|
+
|
226
|
+
|
227
|
+
begin
|
228
|
+
#Get jobs for build master
|
229
|
+
result = api_instance.get_jobs_for_build_master_using_get(build_master)
|
230
|
+
p result
|
231
|
+
rescue SwaggerClient::ApiError => e
|
232
|
+
puts "Exception when calling BuildControllerApi->get_jobs_for_build_master_using_get: #{e}"
|
233
|
+
end
|
234
|
+
```
|
235
|
+
|
236
|
+
### Parameters
|
237
|
+
|
238
|
+
Name | Type | Description | Notes
|
239
|
+
------------- | ------------- | ------------- | -------------
|
240
|
+
**build_master** | **String**| buildMaster |
|
241
|
+
|
242
|
+
### Return type
|
243
|
+
|
244
|
+
**Array<Object>**
|
245
|
+
|
246
|
+
### Authorization
|
247
|
+
|
248
|
+
No authorization required
|
249
|
+
|
250
|
+
### HTTP request headers
|
251
|
+
|
252
|
+
- **Content-Type**: application/json
|
253
|
+
- **Accept**: */*
|
254
|
+
|
255
|
+
|
256
|
+
|
257
|
+
# **v3_get_build_masters_using_get**
|
258
|
+
> Array<Object> v3_get_build_masters_using_get(type)
|
259
|
+
|
260
|
+
Get build masters
|
261
|
+
|
262
|
+
### Example
|
263
|
+
```ruby
|
264
|
+
# load the gem
|
265
|
+
require 'swagger_client'
|
266
|
+
|
267
|
+
api_instance = SwaggerClient::BuildControllerApi.new
|
268
|
+
|
269
|
+
type = 'type_example' # String | type
|
270
|
+
|
271
|
+
|
272
|
+
begin
|
273
|
+
#Get build masters
|
274
|
+
result = api_instance.v3_get_build_masters_using_get(type)
|
275
|
+
p result
|
276
|
+
rescue SwaggerClient::ApiError => e
|
277
|
+
puts "Exception when calling BuildControllerApi->v3_get_build_masters_using_get: #{e}"
|
278
|
+
end
|
279
|
+
```
|
280
|
+
|
281
|
+
### Parameters
|
282
|
+
|
283
|
+
Name | Type | Description | Notes
|
284
|
+
------------- | ------------- | ------------- | -------------
|
285
|
+
**type** | **String**| type |
|
286
|
+
|
287
|
+
### Return type
|
288
|
+
|
289
|
+
**Array<Object>**
|
290
|
+
|
291
|
+
### Authorization
|
292
|
+
|
293
|
+
No authorization required
|
294
|
+
|
295
|
+
### HTTP request headers
|
296
|
+
|
297
|
+
- **Content-Type**: application/json
|
298
|
+
- **Accept**: */*
|
299
|
+
|
300
|
+
|
301
|
+
|
302
|
+
# **v3_get_build_using_get**
|
303
|
+
> Hash<String, Object> v3_get_build_using_get(build_master, number, job)
|
304
|
+
|
305
|
+
Get build for build master
|
306
|
+
|
307
|
+
### Example
|
308
|
+
```ruby
|
309
|
+
# load the gem
|
310
|
+
require 'swagger_client'
|
311
|
+
|
312
|
+
api_instance = SwaggerClient::BuildControllerApi.new
|
313
|
+
|
314
|
+
build_master = 'build_master_example' # String | buildMaster
|
315
|
+
|
316
|
+
number = 'number_example' # String | number
|
317
|
+
|
318
|
+
job = 'job_example' # String | job
|
319
|
+
|
320
|
+
|
321
|
+
begin
|
322
|
+
#Get build for build master
|
323
|
+
result = api_instance.v3_get_build_using_get(build_master, number, job)
|
324
|
+
p result
|
325
|
+
rescue SwaggerClient::ApiError => e
|
326
|
+
puts "Exception when calling BuildControllerApi->v3_get_build_using_get: #{e}"
|
327
|
+
end
|
328
|
+
```
|
329
|
+
|
330
|
+
### Parameters
|
331
|
+
|
332
|
+
Name | Type | Description | Notes
|
333
|
+
------------- | ------------- | ------------- | -------------
|
334
|
+
**build_master** | **String**| buildMaster |
|
335
|
+
**number** | **String**| number |
|
336
|
+
**job** | **String**| job |
|
337
|
+
|
338
|
+
### Return type
|
339
|
+
|
340
|
+
**Hash<String, Object>**
|
341
|
+
|
342
|
+
### Authorization
|
343
|
+
|
344
|
+
No authorization required
|
345
|
+
|
346
|
+
### HTTP request headers
|
347
|
+
|
348
|
+
- **Content-Type**: application/json
|
349
|
+
- **Accept**: */*
|
350
|
+
|
351
|
+
|
352
|
+
|
353
|
+
# **v3_get_builds_using_get**
|
354
|
+
> Array<Object> v3_get_builds_using_get(build_master, job)
|
355
|
+
|
356
|
+
Get builds for build master
|
357
|
+
|
358
|
+
### Example
|
359
|
+
```ruby
|
360
|
+
# load the gem
|
361
|
+
require 'swagger_client'
|
362
|
+
|
363
|
+
api_instance = SwaggerClient::BuildControllerApi.new
|
364
|
+
|
365
|
+
build_master = 'build_master_example' # String | buildMaster
|
366
|
+
|
367
|
+
job = 'job_example' # String | job
|
368
|
+
|
369
|
+
|
370
|
+
begin
|
371
|
+
#Get builds for build master
|
372
|
+
result = api_instance.v3_get_builds_using_get(build_master, job)
|
373
|
+
p result
|
374
|
+
rescue SwaggerClient::ApiError => e
|
375
|
+
puts "Exception when calling BuildControllerApi->v3_get_builds_using_get: #{e}"
|
376
|
+
end
|
377
|
+
```
|
378
|
+
|
379
|
+
### Parameters
|
380
|
+
|
381
|
+
Name | Type | Description | Notes
|
382
|
+
------------- | ------------- | ------------- | -------------
|
383
|
+
**build_master** | **String**| buildMaster |
|
384
|
+
**job** | **String**| job |
|
385
|
+
|
386
|
+
### Return type
|
387
|
+
|
388
|
+
**Array<Object>**
|
389
|
+
|
390
|
+
### Authorization
|
391
|
+
|
392
|
+
No authorization required
|
393
|
+
|
394
|
+
### HTTP request headers
|
395
|
+
|
396
|
+
- **Content-Type**: application/json
|
397
|
+
- **Accept**: */*
|
398
|
+
|
399
|
+
|
400
|
+
|
401
|
+
# **v3_get_job_config_using_get**
|
402
|
+
> Hash<String, Object> v3_get_job_config_using_get(build_master, job)
|
403
|
+
|
404
|
+
Get job config
|
405
|
+
|
406
|
+
### Example
|
407
|
+
```ruby
|
408
|
+
# load the gem
|
409
|
+
require 'swagger_client'
|
410
|
+
|
411
|
+
api_instance = SwaggerClient::BuildControllerApi.new
|
412
|
+
|
413
|
+
build_master = 'build_master_example' # String | buildMaster
|
414
|
+
|
415
|
+
job = 'job_example' # String | job
|
416
|
+
|
417
|
+
|
418
|
+
begin
|
419
|
+
#Get job config
|
420
|
+
result = api_instance.v3_get_job_config_using_get(build_master, job)
|
421
|
+
p result
|
422
|
+
rescue SwaggerClient::ApiError => e
|
423
|
+
puts "Exception when calling BuildControllerApi->v3_get_job_config_using_get: #{e}"
|
424
|
+
end
|
425
|
+
```
|
426
|
+
|
427
|
+
### Parameters
|
428
|
+
|
429
|
+
Name | Type | Description | Notes
|
430
|
+
------------- | ------------- | ------------- | -------------
|
431
|
+
**build_master** | **String**| buildMaster |
|
432
|
+
**job** | **String**| job |
|
433
|
+
|
434
|
+
### Return type
|
435
|
+
|
436
|
+
**Hash<String, Object>**
|
437
|
+
|
438
|
+
### Authorization
|
439
|
+
|
440
|
+
No authorization required
|
441
|
+
|
442
|
+
### HTTP request headers
|
443
|
+
|
444
|
+
- **Content-Type**: application/json
|
445
|
+
- **Accept**: */*
|
446
|
+
|
447
|
+
|
448
|
+
|
449
|
+
# **v3_get_jobs_for_build_master_using_get**
|
450
|
+
> Array<Object> v3_get_jobs_for_build_master_using_get(build_master)
|
451
|
+
|
452
|
+
Get jobs for build master
|
453
|
+
|
454
|
+
### Example
|
455
|
+
```ruby
|
456
|
+
# load the gem
|
457
|
+
require 'swagger_client'
|
458
|
+
|
459
|
+
api_instance = SwaggerClient::BuildControllerApi.new
|
460
|
+
|
461
|
+
build_master = 'build_master_example' # String | buildMaster
|
462
|
+
|
463
|
+
|
464
|
+
begin
|
465
|
+
#Get jobs for build master
|
466
|
+
result = api_instance.v3_get_jobs_for_build_master_using_get(build_master)
|
467
|
+
p result
|
468
|
+
rescue SwaggerClient::ApiError => e
|
469
|
+
puts "Exception when calling BuildControllerApi->v3_get_jobs_for_build_master_using_get: #{e}"
|
470
|
+
end
|
471
|
+
```
|
472
|
+
|
473
|
+
### Parameters
|
474
|
+
|
475
|
+
Name | Type | Description | Notes
|
476
|
+
------------- | ------------- | ------------- | -------------
|
477
|
+
**build_master** | **String**| buildMaster |
|
478
|
+
|
479
|
+
### Return type
|
480
|
+
|
481
|
+
**Array<Object>**
|
482
|
+
|
483
|
+
### Authorization
|
484
|
+
|
485
|
+
No authorization required
|
486
|
+
|
487
|
+
### HTTP request headers
|
488
|
+
|
489
|
+
- **Content-Type**: application/json
|
490
|
+
- **Accept**: */*
|
491
|
+
|
492
|
+
|
493
|
+
|