pulpcore_client 3.22.22 → 3.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +26 -4
- data/docs/ArtifactDistributionResponse.md +6 -6
- data/docs/DistributionsApi.md +4 -0
- data/docs/DistributionsArtifactsApi.md +4 -0
- data/docs/Domain.md +27 -0
- data/docs/DomainResponse.md +31 -0
- data/docs/DomainsApi.md +362 -0
- data/docs/ExportersFilesystemApi.md +3 -3
- data/docs/ExportersFilesystemExportsApi.md +3 -3
- data/docs/GroupRole.md +3 -1
- data/docs/GroupRoleResponse.md +3 -1
- data/docs/GroupsApi.md +6 -6
- data/docs/GroupsRolesApi.md +6 -4
- data/docs/PaginatedDomainResponseList.md +23 -0
- data/docs/PaginatedUpstreamPulpResponseList.md +23 -0
- data/docs/PatchedDomain.md +27 -0
- data/docs/PatchedUpstreamPulp.md +37 -0
- data/docs/RepositoriesApi.md +16 -0
- data/docs/RepositoryResponse.md +1 -1
- data/docs/RolesApi.md +6 -6
- data/docs/StatusResponse.md +3 -1
- data/docs/StorageClassEnum.md +16 -0
- data/docs/TaskSchedulesApi.md +2 -2
- data/docs/TasksApi.md +1 -1
- data/docs/UpstreamPulp.md +37 -0
- data/docs/UpstreamPulpResponse.md +39 -0
- data/docs/UpstreamPulpsApi.md +405 -0
- data/docs/UserRole.md +4 -2
- data/docs/UserRoleResponse.md +4 -2
- data/docs/UsersApi.md +6 -6
- data/docs/UsersRolesApi.md +6 -4
- data/docs/VersionResponse.md +3 -1
- data/lib/pulpcore_client/api/distributions_api.rb +6 -0
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +6 -0
- data/lib/pulpcore_client/api/domains_api.rb +446 -0
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +6 -6
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +6 -6
- data/lib/pulpcore_client/api/groups_api.rb +12 -12
- data/lib/pulpcore_client/api/groups_roles_api.rb +11 -8
- data/lib/pulpcore_client/api/repositories_api.rb +24 -0
- data/lib/pulpcore_client/api/roles_api.rb +12 -12
- data/lib/pulpcore_client/api/task_schedules_api.rb +4 -4
- data/lib/pulpcore_client/api/tasks_api.rb +2 -2
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +492 -0
- data/lib/pulpcore_client/api/users_api.rb +12 -12
- data/lib/pulpcore_client/api/users_roles_api.rb +11 -8
- data/lib/pulpcore_client/api/workers_api.rb +1 -1
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +31 -31
- data/lib/pulpcore_client/models/domain.rb +323 -0
- data/lib/pulpcore_client/models/domain_response.rb +318 -0
- data/lib/pulpcore_client/models/group_role.rb +16 -5
- data/lib/pulpcore_client/models/group_role_response.rb +15 -4
- data/lib/pulpcore_client/models/nested_role.rb +19 -0
- data/lib/pulpcore_client/models/paginated_domain_response_list.rb +237 -0
- data/lib/pulpcore_client/models/paginated_upstream_pulp_response_list.rb +237 -0
- data/lib/pulpcore_client/models/patched_domain.rb +304 -0
- data/lib/pulpcore_client/models/patched_upstream_pulp.rb +450 -0
- data/lib/pulpcore_client/models/repository_response.rb +1 -1
- data/lib/pulpcore_client/models/status_response.rb +19 -4
- data/lib/pulpcore_client/models/storage_class_enum.rb +37 -0
- data/lib/pulpcore_client/models/upstream_pulp.rb +477 -0
- data/lib/pulpcore_client/models/upstream_pulp_response.rb +338 -0
- data/lib/pulpcore_client/models/user_role.rb +17 -6
- data/lib/pulpcore_client/models/user_role_response.rb +16 -5
- data/lib/pulpcore_client/models/version_response.rb +19 -4
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +11 -0
- data/spec/api/distributions_api_spec.rb +2 -0
- data/spec/api/distributions_artifacts_api_spec.rb +2 -0
- data/spec/api/domains_api_spec.rb +120 -0
- data/spec/api/exporters_filesystem_api_spec.rb +3 -3
- data/spec/api/exporters_filesystem_exports_api_spec.rb +3 -3
- data/spec/api/groups_api_spec.rb +6 -6
- data/spec/api/groups_roles_api_spec.rb +5 -4
- data/spec/api/repositories_api_spec.rb +8 -0
- data/spec/api/roles_api_spec.rb +6 -6
- data/spec/api/task_schedules_api_spec.rb +2 -2
- data/spec/api/tasks_api_spec.rb +1 -1
- data/spec/api/upstream_pulps_api_spec.rb +127 -0
- data/spec/api/users_api_spec.rb +6 -6
- data/spec/api/users_roles_api_spec.rb +5 -4
- data/spec/models/artifact_distribution_response_spec.rb +4 -4
- data/spec/models/domain_response_spec.rb +83 -0
- data/spec/models/domain_spec.rb +71 -0
- data/spec/models/group_role_response_spec.rb +6 -0
- data/spec/models/group_role_spec.rb +6 -0
- data/spec/models/paginated_domain_response_list_spec.rb +59 -0
- data/spec/models/paginated_upstream_pulp_response_list_spec.rb +59 -0
- data/spec/models/patched_domain_spec.rb +71 -0
- data/spec/models/patched_upstream_pulp_spec.rb +101 -0
- data/spec/models/status_response_spec.rb +6 -0
- data/spec/models/storage_class_enum_spec.rb +35 -0
- data/spec/models/upstream_pulp_response_spec.rb +107 -0
- data/spec/models/upstream_pulp_spec.rb +101 -0
- data/spec/models/user_role_response_spec.rb +6 -0
- data/spec/models/user_role_spec.rb +6 -0
- data/spec/models/version_response_spec.rb +6 -0
- metadata +179 -135
@@ -0,0 +1,405 @@
|
|
1
|
+
# PulpcoreClient::UpstreamPulpsApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://pulp*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**create**](UpstreamPulpsApi.md#create) | **POST** /pulp/api/v3/upstream-pulps/ | Create an upstream pulp
|
8
|
+
[**delete**](UpstreamPulpsApi.md#delete) | **DELETE** {upstream_pulp_href} | Delete an upstream pulp
|
9
|
+
[**list**](UpstreamPulpsApi.md#list) | **GET** /pulp/api/v3/upstream-pulps/ | List upstream pulps
|
10
|
+
[**partial_update**](UpstreamPulpsApi.md#partial_update) | **PATCH** {upstream_pulp_href} | Update an upstream pulp
|
11
|
+
[**read**](UpstreamPulpsApi.md#read) | **GET** {upstream_pulp_href} | Inspect an upstream pulp
|
12
|
+
[**replicate**](UpstreamPulpsApi.md#replicate) | **POST** {upstream_pulp_href}replicate/ | Replicate
|
13
|
+
[**update**](UpstreamPulpsApi.md#update) | **PUT** {upstream_pulp_href} | Update an upstream pulp
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
## create
|
18
|
+
|
19
|
+
> UpstreamPulpResponse create(upstream_pulp)
|
20
|
+
|
21
|
+
Create an upstream pulp
|
22
|
+
|
23
|
+
API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
24
|
+
|
25
|
+
### Example
|
26
|
+
|
27
|
+
```ruby
|
28
|
+
# load the gem
|
29
|
+
require 'pulpcore_client'
|
30
|
+
# setup authorization
|
31
|
+
PulpcoreClient.configure do |config|
|
32
|
+
# Configure HTTP basic authorization: basicAuth
|
33
|
+
config.username = 'YOUR USERNAME'
|
34
|
+
config.password = 'YOUR PASSWORD'
|
35
|
+
end
|
36
|
+
|
37
|
+
api_instance = PulpcoreClient::UpstreamPulpsApi.new
|
38
|
+
upstream_pulp = PulpcoreClient::UpstreamPulp.new # UpstreamPulp |
|
39
|
+
|
40
|
+
begin
|
41
|
+
#Create an upstream pulp
|
42
|
+
result = api_instance.create(upstream_pulp)
|
43
|
+
p result
|
44
|
+
rescue PulpcoreClient::ApiError => e
|
45
|
+
puts "Exception when calling UpstreamPulpsApi->create: #{e}"
|
46
|
+
end
|
47
|
+
```
|
48
|
+
|
49
|
+
### Parameters
|
50
|
+
|
51
|
+
|
52
|
+
Name | Type | Description | Notes
|
53
|
+
------------- | ------------- | ------------- | -------------
|
54
|
+
**upstream_pulp** | [**UpstreamPulp**](UpstreamPulp.md)| |
|
55
|
+
|
56
|
+
### Return type
|
57
|
+
|
58
|
+
[**UpstreamPulpResponse**](UpstreamPulpResponse.md)
|
59
|
+
|
60
|
+
### Authorization
|
61
|
+
|
62
|
+
[basicAuth](../README.md#basicAuth)
|
63
|
+
|
64
|
+
### HTTP request headers
|
65
|
+
|
66
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
67
|
+
- **Accept**: application/json
|
68
|
+
|
69
|
+
|
70
|
+
## delete
|
71
|
+
|
72
|
+
> delete(upstream_pulp_href)
|
73
|
+
|
74
|
+
Delete an upstream pulp
|
75
|
+
|
76
|
+
API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
77
|
+
|
78
|
+
### Example
|
79
|
+
|
80
|
+
```ruby
|
81
|
+
# load the gem
|
82
|
+
require 'pulpcore_client'
|
83
|
+
# setup authorization
|
84
|
+
PulpcoreClient.configure do |config|
|
85
|
+
# Configure HTTP basic authorization: basicAuth
|
86
|
+
config.username = 'YOUR USERNAME'
|
87
|
+
config.password = 'YOUR PASSWORD'
|
88
|
+
end
|
89
|
+
|
90
|
+
api_instance = PulpcoreClient::UpstreamPulpsApi.new
|
91
|
+
upstream_pulp_href = 'upstream_pulp_href_example' # String |
|
92
|
+
|
93
|
+
begin
|
94
|
+
#Delete an upstream pulp
|
95
|
+
api_instance.delete(upstream_pulp_href)
|
96
|
+
rescue PulpcoreClient::ApiError => e
|
97
|
+
puts "Exception when calling UpstreamPulpsApi->delete: #{e}"
|
98
|
+
end
|
99
|
+
```
|
100
|
+
|
101
|
+
### Parameters
|
102
|
+
|
103
|
+
|
104
|
+
Name | Type | Description | Notes
|
105
|
+
------------- | ------------- | ------------- | -------------
|
106
|
+
**upstream_pulp_href** | **String**| |
|
107
|
+
|
108
|
+
### Return type
|
109
|
+
|
110
|
+
nil (empty response body)
|
111
|
+
|
112
|
+
### Authorization
|
113
|
+
|
114
|
+
[basicAuth](../README.md#basicAuth)
|
115
|
+
|
116
|
+
### HTTP request headers
|
117
|
+
|
118
|
+
- **Content-Type**: Not defined
|
119
|
+
- **Accept**: Not defined
|
120
|
+
|
121
|
+
|
122
|
+
## list
|
123
|
+
|
124
|
+
> PaginatedUpstreamPulpResponseList list(opts)
|
125
|
+
|
126
|
+
List upstream pulps
|
127
|
+
|
128
|
+
API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
129
|
+
|
130
|
+
### Example
|
131
|
+
|
132
|
+
```ruby
|
133
|
+
# load the gem
|
134
|
+
require 'pulpcore_client'
|
135
|
+
# setup authorization
|
136
|
+
PulpcoreClient.configure do |config|
|
137
|
+
# Configure HTTP basic authorization: basicAuth
|
138
|
+
config.username = 'YOUR USERNAME'
|
139
|
+
config.password = 'YOUR PASSWORD'
|
140
|
+
end
|
141
|
+
|
142
|
+
api_instance = PulpcoreClient::UpstreamPulpsApi.new
|
143
|
+
opts = {
|
144
|
+
limit: 56, # Integer | Number of results to return per page.
|
145
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
146
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
147
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
148
|
+
}
|
149
|
+
|
150
|
+
begin
|
151
|
+
#List upstream pulps
|
152
|
+
result = api_instance.list(opts)
|
153
|
+
p result
|
154
|
+
rescue PulpcoreClient::ApiError => e
|
155
|
+
puts "Exception when calling UpstreamPulpsApi->list: #{e}"
|
156
|
+
end
|
157
|
+
```
|
158
|
+
|
159
|
+
### Parameters
|
160
|
+
|
161
|
+
|
162
|
+
Name | Type | Description | Notes
|
163
|
+
------------- | ------------- | ------------- | -------------
|
164
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
165
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
166
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
167
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
168
|
+
|
169
|
+
### Return type
|
170
|
+
|
171
|
+
[**PaginatedUpstreamPulpResponseList**](PaginatedUpstreamPulpResponseList.md)
|
172
|
+
|
173
|
+
### Authorization
|
174
|
+
|
175
|
+
[basicAuth](../README.md#basicAuth)
|
176
|
+
|
177
|
+
### HTTP request headers
|
178
|
+
|
179
|
+
- **Content-Type**: Not defined
|
180
|
+
- **Accept**: application/json
|
181
|
+
|
182
|
+
|
183
|
+
## partial_update
|
184
|
+
|
185
|
+
> UpstreamPulpResponse partial_update(upstream_pulp_href, patched_upstream_pulp)
|
186
|
+
|
187
|
+
Update an upstream pulp
|
188
|
+
|
189
|
+
API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
190
|
+
|
191
|
+
### Example
|
192
|
+
|
193
|
+
```ruby
|
194
|
+
# load the gem
|
195
|
+
require 'pulpcore_client'
|
196
|
+
# setup authorization
|
197
|
+
PulpcoreClient.configure do |config|
|
198
|
+
# Configure HTTP basic authorization: basicAuth
|
199
|
+
config.username = 'YOUR USERNAME'
|
200
|
+
config.password = 'YOUR PASSWORD'
|
201
|
+
end
|
202
|
+
|
203
|
+
api_instance = PulpcoreClient::UpstreamPulpsApi.new
|
204
|
+
upstream_pulp_href = 'upstream_pulp_href_example' # String |
|
205
|
+
patched_upstream_pulp = PulpcoreClient::PatchedUpstreamPulp.new # PatchedUpstreamPulp |
|
206
|
+
|
207
|
+
begin
|
208
|
+
#Update an upstream pulp
|
209
|
+
result = api_instance.partial_update(upstream_pulp_href, patched_upstream_pulp)
|
210
|
+
p result
|
211
|
+
rescue PulpcoreClient::ApiError => e
|
212
|
+
puts "Exception when calling UpstreamPulpsApi->partial_update: #{e}"
|
213
|
+
end
|
214
|
+
```
|
215
|
+
|
216
|
+
### Parameters
|
217
|
+
|
218
|
+
|
219
|
+
Name | Type | Description | Notes
|
220
|
+
------------- | ------------- | ------------- | -------------
|
221
|
+
**upstream_pulp_href** | **String**| |
|
222
|
+
**patched_upstream_pulp** | [**PatchedUpstreamPulp**](PatchedUpstreamPulp.md)| |
|
223
|
+
|
224
|
+
### Return type
|
225
|
+
|
226
|
+
[**UpstreamPulpResponse**](UpstreamPulpResponse.md)
|
227
|
+
|
228
|
+
### Authorization
|
229
|
+
|
230
|
+
[basicAuth](../README.md#basicAuth)
|
231
|
+
|
232
|
+
### HTTP request headers
|
233
|
+
|
234
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
235
|
+
- **Accept**: application/json
|
236
|
+
|
237
|
+
|
238
|
+
## read
|
239
|
+
|
240
|
+
> UpstreamPulpResponse read(upstream_pulp_href, opts)
|
241
|
+
|
242
|
+
Inspect an upstream pulp
|
243
|
+
|
244
|
+
API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
245
|
+
|
246
|
+
### Example
|
247
|
+
|
248
|
+
```ruby
|
249
|
+
# load the gem
|
250
|
+
require 'pulpcore_client'
|
251
|
+
# setup authorization
|
252
|
+
PulpcoreClient.configure do |config|
|
253
|
+
# Configure HTTP basic authorization: basicAuth
|
254
|
+
config.username = 'YOUR USERNAME'
|
255
|
+
config.password = 'YOUR PASSWORD'
|
256
|
+
end
|
257
|
+
|
258
|
+
api_instance = PulpcoreClient::UpstreamPulpsApi.new
|
259
|
+
upstream_pulp_href = 'upstream_pulp_href_example' # String |
|
260
|
+
opts = {
|
261
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
262
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
263
|
+
}
|
264
|
+
|
265
|
+
begin
|
266
|
+
#Inspect an upstream pulp
|
267
|
+
result = api_instance.read(upstream_pulp_href, opts)
|
268
|
+
p result
|
269
|
+
rescue PulpcoreClient::ApiError => e
|
270
|
+
puts "Exception when calling UpstreamPulpsApi->read: #{e}"
|
271
|
+
end
|
272
|
+
```
|
273
|
+
|
274
|
+
### Parameters
|
275
|
+
|
276
|
+
|
277
|
+
Name | Type | Description | Notes
|
278
|
+
------------- | ------------- | ------------- | -------------
|
279
|
+
**upstream_pulp_href** | **String**| |
|
280
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
281
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
282
|
+
|
283
|
+
### Return type
|
284
|
+
|
285
|
+
[**UpstreamPulpResponse**](UpstreamPulpResponse.md)
|
286
|
+
|
287
|
+
### Authorization
|
288
|
+
|
289
|
+
[basicAuth](../README.md#basicAuth)
|
290
|
+
|
291
|
+
### HTTP request headers
|
292
|
+
|
293
|
+
- **Content-Type**: Not defined
|
294
|
+
- **Accept**: application/json
|
295
|
+
|
296
|
+
|
297
|
+
## replicate
|
298
|
+
|
299
|
+
> AsyncOperationResponse replicate(upstream_pulp_href, upstream_pulp)
|
300
|
+
|
301
|
+
Replicate
|
302
|
+
|
303
|
+
Trigger an asynchronous repository replication task group. This API is provided as a tech preview.
|
304
|
+
|
305
|
+
### Example
|
306
|
+
|
307
|
+
```ruby
|
308
|
+
# load the gem
|
309
|
+
require 'pulpcore_client'
|
310
|
+
# setup authorization
|
311
|
+
PulpcoreClient.configure do |config|
|
312
|
+
# Configure HTTP basic authorization: basicAuth
|
313
|
+
config.username = 'YOUR USERNAME'
|
314
|
+
config.password = 'YOUR PASSWORD'
|
315
|
+
end
|
316
|
+
|
317
|
+
api_instance = PulpcoreClient::UpstreamPulpsApi.new
|
318
|
+
upstream_pulp_href = 'upstream_pulp_href_example' # String |
|
319
|
+
upstream_pulp = PulpcoreClient::UpstreamPulp.new # UpstreamPulp |
|
320
|
+
|
321
|
+
begin
|
322
|
+
#Replicate
|
323
|
+
result = api_instance.replicate(upstream_pulp_href, upstream_pulp)
|
324
|
+
p result
|
325
|
+
rescue PulpcoreClient::ApiError => e
|
326
|
+
puts "Exception when calling UpstreamPulpsApi->replicate: #{e}"
|
327
|
+
end
|
328
|
+
```
|
329
|
+
|
330
|
+
### Parameters
|
331
|
+
|
332
|
+
|
333
|
+
Name | Type | Description | Notes
|
334
|
+
------------- | ------------- | ------------- | -------------
|
335
|
+
**upstream_pulp_href** | **String**| |
|
336
|
+
**upstream_pulp** | [**UpstreamPulp**](UpstreamPulp.md)| |
|
337
|
+
|
338
|
+
### Return type
|
339
|
+
|
340
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
341
|
+
|
342
|
+
### Authorization
|
343
|
+
|
344
|
+
[basicAuth](../README.md#basicAuth)
|
345
|
+
|
346
|
+
### HTTP request headers
|
347
|
+
|
348
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
349
|
+
- **Accept**: application/json
|
350
|
+
|
351
|
+
|
352
|
+
## update
|
353
|
+
|
354
|
+
> UpstreamPulpResponse update(upstream_pulp_href, upstream_pulp)
|
355
|
+
|
356
|
+
Update an upstream pulp
|
357
|
+
|
358
|
+
API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
359
|
+
|
360
|
+
### Example
|
361
|
+
|
362
|
+
```ruby
|
363
|
+
# load the gem
|
364
|
+
require 'pulpcore_client'
|
365
|
+
# setup authorization
|
366
|
+
PulpcoreClient.configure do |config|
|
367
|
+
# Configure HTTP basic authorization: basicAuth
|
368
|
+
config.username = 'YOUR USERNAME'
|
369
|
+
config.password = 'YOUR PASSWORD'
|
370
|
+
end
|
371
|
+
|
372
|
+
api_instance = PulpcoreClient::UpstreamPulpsApi.new
|
373
|
+
upstream_pulp_href = 'upstream_pulp_href_example' # String |
|
374
|
+
upstream_pulp = PulpcoreClient::UpstreamPulp.new # UpstreamPulp |
|
375
|
+
|
376
|
+
begin
|
377
|
+
#Update an upstream pulp
|
378
|
+
result = api_instance.update(upstream_pulp_href, upstream_pulp)
|
379
|
+
p result
|
380
|
+
rescue PulpcoreClient::ApiError => e
|
381
|
+
puts "Exception when calling UpstreamPulpsApi->update: #{e}"
|
382
|
+
end
|
383
|
+
```
|
384
|
+
|
385
|
+
### Parameters
|
386
|
+
|
387
|
+
|
388
|
+
Name | Type | Description | Notes
|
389
|
+
------------- | ------------- | ------------- | -------------
|
390
|
+
**upstream_pulp_href** | **String**| |
|
391
|
+
**upstream_pulp** | [**UpstreamPulp**](UpstreamPulp.md)| |
|
392
|
+
|
393
|
+
### Return type
|
394
|
+
|
395
|
+
[**UpstreamPulpResponse**](UpstreamPulpResponse.md)
|
396
|
+
|
397
|
+
### Authorization
|
398
|
+
|
399
|
+
[basicAuth](../README.md#basicAuth)
|
400
|
+
|
401
|
+
### HTTP request headers
|
402
|
+
|
403
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
404
|
+
- **Accept**: application/json
|
405
|
+
|
data/docs/UserRole.md
CHANGED
@@ -5,7 +5,8 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**role** | **String** | |
|
8
|
-
**content_object** | **String** | pulp_href of the object for which role permissions should be asserted. If set to 'null', permissions will act on
|
8
|
+
**content_object** | **String** | pulp_href of the object for which role permissions should be asserted. If set to 'null', permissions will act on either domain or model-level. |
|
9
|
+
**domain** | **String** | Domain this role should be applied on, mutually exclusive with content_object. | [optional]
|
9
10
|
|
10
11
|
## Code Sample
|
11
12
|
|
@@ -13,7 +14,8 @@ Name | Type | Description | Notes
|
|
13
14
|
require 'PulpcoreClient'
|
14
15
|
|
15
16
|
instance = PulpcoreClient::UserRole.new(role: null,
|
16
|
-
content_object: null
|
17
|
+
content_object: null,
|
18
|
+
domain: null)
|
17
19
|
```
|
18
20
|
|
19
21
|
|
data/docs/UserRoleResponse.md
CHANGED
@@ -7,9 +7,10 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**role** | **String** | |
|
10
|
-
**content_object** | **String** | pulp_href of the object for which role permissions should be asserted. If set to 'null', permissions will act on
|
10
|
+
**content_object** | **String** | pulp_href of the object for which role permissions should be asserted. If set to 'null', permissions will act on either domain or model-level. |
|
11
11
|
**description** | **String** | | [optional] [readonly]
|
12
12
|
**permissions** | **Array<String>** | | [optional] [readonly]
|
13
|
+
**domain** | **String** | Domain this role should be applied on, mutually exclusive with content_object. | [optional]
|
13
14
|
|
14
15
|
## Code Sample
|
15
16
|
|
@@ -21,7 +22,8 @@ instance = PulpcoreClient::UserRoleResponse.new(pulp_href: null,
|
|
21
22
|
role: null,
|
22
23
|
content_object: null,
|
23
24
|
description: null,
|
24
|
-
permissions: null
|
25
|
+
permissions: null,
|
26
|
+
domain: null)
|
25
27
|
```
|
26
28
|
|
27
29
|
|
data/docs/UsersApi.md
CHANGED
@@ -19,7 +19,7 @@ Method | HTTP request | Description
|
|
19
19
|
|
20
20
|
Create an user
|
21
21
|
|
22
|
-
ViewSet for User.
|
22
|
+
ViewSet for User.
|
23
23
|
|
24
24
|
### Example
|
25
25
|
|
@@ -72,7 +72,7 @@ Name | Type | Description | Notes
|
|
72
72
|
|
73
73
|
Delete an user
|
74
74
|
|
75
|
-
ViewSet for User.
|
75
|
+
ViewSet for User.
|
76
76
|
|
77
77
|
### Example
|
78
78
|
|
@@ -124,7 +124,7 @@ nil (empty response body)
|
|
124
124
|
|
125
125
|
List users
|
126
126
|
|
127
|
-
ViewSet for User.
|
127
|
+
ViewSet for User.
|
128
128
|
|
129
129
|
### Example
|
130
130
|
|
@@ -231,7 +231,7 @@ Name | Type | Description | Notes
|
|
231
231
|
|
232
232
|
Update an user
|
233
233
|
|
234
|
-
ViewSet for User.
|
234
|
+
ViewSet for User.
|
235
235
|
|
236
236
|
### Example
|
237
237
|
|
@@ -286,7 +286,7 @@ Name | Type | Description | Notes
|
|
286
286
|
|
287
287
|
Inspect an user
|
288
288
|
|
289
|
-
ViewSet for User.
|
289
|
+
ViewSet for User.
|
290
290
|
|
291
291
|
### Example
|
292
292
|
|
@@ -345,7 +345,7 @@ Name | Type | Description | Notes
|
|
345
345
|
|
346
346
|
Update an user
|
347
347
|
|
348
|
-
ViewSet for User.
|
348
|
+
ViewSet for User.
|
349
349
|
|
350
350
|
### Example
|
351
351
|
|
data/docs/UsersRolesApi.md
CHANGED
@@ -17,7 +17,7 @@ Method | HTTP request | Description
|
|
17
17
|
|
18
18
|
Create an user role
|
19
19
|
|
20
|
-
ViewSet for UserRole.
|
20
|
+
ViewSet for UserRole.
|
21
21
|
|
22
22
|
### Example
|
23
23
|
|
@@ -72,7 +72,7 @@ Name | Type | Description | Notes
|
|
72
72
|
|
73
73
|
Delete an user role
|
74
74
|
|
75
|
-
ViewSet for UserRole.
|
75
|
+
ViewSet for UserRole.
|
76
76
|
|
77
77
|
### Example
|
78
78
|
|
@@ -124,7 +124,7 @@ nil (empty response body)
|
|
124
124
|
|
125
125
|
List user roles
|
126
126
|
|
127
|
-
ViewSet for UserRole.
|
127
|
+
ViewSet for UserRole.
|
128
128
|
|
129
129
|
### Example
|
130
130
|
|
@@ -142,6 +142,7 @@ api_instance = PulpcoreClient::UsersRolesApi.new
|
|
142
142
|
auth_user_href = 'auth_user_href_example' # String |
|
143
143
|
opts = {
|
144
144
|
content_object: 'content_object_example', # String | content_object
|
145
|
+
domain: 'domain_example', # String | Foreign Key referenced by HREF
|
145
146
|
limit: 56, # Integer | Number of results to return per page.
|
146
147
|
offset: 56, # Integer | The initial index from which to return the results.
|
147
148
|
ordering: ['ordering_example'], # Array<String> | Ordering
|
@@ -170,6 +171,7 @@ Name | Type | Description | Notes
|
|
170
171
|
------------- | ------------- | ------------- | -------------
|
171
172
|
**auth_user_href** | **String**| |
|
172
173
|
**content_object** | **String**| content_object | [optional]
|
174
|
+
**domain** | **String**| Foreign Key referenced by HREF | [optional]
|
173
175
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
174
176
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
175
177
|
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
@@ -201,7 +203,7 @@ Name | Type | Description | Notes
|
|
201
203
|
|
202
204
|
Inspect an user role
|
203
205
|
|
204
|
-
ViewSet for UserRole.
|
206
|
+
ViewSet for UserRole.
|
205
207
|
|
206
208
|
### Example
|
207
209
|
|
data/docs/VersionResponse.md
CHANGED
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**component** | **String** | Name of a versioned component of Pulp |
|
8
8
|
**version** | **String** | Version of the component (e.g. 3.0.0) |
|
9
9
|
**package** | **String** | Python package name providing the component |
|
10
|
+
**domain_compatible** | **Boolean** | Domain feature compatibility of component |
|
10
11
|
|
11
12
|
## Code Sample
|
12
13
|
|
@@ -15,7 +16,8 @@ require 'PulpcoreClient'
|
|
15
16
|
|
16
17
|
instance = PulpcoreClient::VersionResponse.new(component: null,
|
17
18
|
version: null,
|
18
|
-
package: null
|
19
|
+
package: null,
|
20
|
+
domain_compatible: null)
|
19
21
|
```
|
20
22
|
|
21
23
|
|
@@ -35,6 +35,8 @@ module PulpcoreClient
|
|
35
35
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
36
36
|
# @option opts [Array<String>] :ordering Ordering
|
37
37
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
38
|
+
# @option opts [String] :repository Filter results where repository matches value
|
39
|
+
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
38
40
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
39
41
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
40
42
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -60,6 +62,8 @@ module PulpcoreClient
|
|
60
62
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
61
63
|
# @option opts [Array<String>] :ordering Ordering
|
62
64
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
65
|
+
# @option opts [String] :repository Filter results where repository matches value
|
66
|
+
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
63
67
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
64
68
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
65
69
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -90,6 +94,8 @@ module PulpcoreClient
|
|
90
94
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
91
95
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
92
96
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
97
|
+
query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
98
|
+
query_params[:'repository__in'] = @api_client.build_collection_param(opts[:'repository__in'], :csv) if !opts[:'repository__in'].nil?
|
93
99
|
query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
|
94
100
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
95
101
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
@@ -35,6 +35,8 @@ module PulpcoreClient
|
|
35
35
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
36
36
|
# @option opts [Array<String>] :ordering Ordering
|
37
37
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
38
|
+
# @option opts [String] :repository Filter results where repository matches value
|
39
|
+
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
38
40
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
39
41
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
40
42
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -60,6 +62,8 @@ module PulpcoreClient
|
|
60
62
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
61
63
|
# @option opts [Array<String>] :ordering Ordering
|
62
64
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
65
|
+
# @option opts [String] :repository Filter results where repository matches value
|
66
|
+
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
63
67
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
64
68
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
65
69
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -90,6 +94,8 @@ module PulpcoreClient
|
|
90
94
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
91
95
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
92
96
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
97
|
+
query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
98
|
+
query_params[:'repository__in'] = @api_client.build_collection_param(opts[:'repository__in'], :csv) if !opts[:'repository__in'].nil?
|
93
99
|
query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
|
94
100
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
95
101
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|